Modding Help Is it possible to open containers remotely?

Discussion in 'Starbound Modding' started by nickc01, Dec 18, 2016.

  1. nickc01

    nickc01 Phantasmal Quasar

    I'm trying to make a tool that will allow you to open certain objects from a far distance and through blocks.

    I've been able to do it sort-of using activeItem.interact
    activeItem.interact(`String` interactionType, `EntityId` sourceEntityId, `Json` config)
    But it doesn't seem to work with Container type objects, I can't seem to find an interaction type that works with them.

    Would there be an interaction type for containers out there

    or any way to open a container remotely?
  2. bk3k

    bk3k Oxygen Tank

    If it was for objects with scripts, this might be more possible. In particular if the object had onInteraction() then maybe a scriptedEntity call.

    I wouldn't know any other method.

Share This Page