Skip to content

Useability #1

@rheimus

Description

@rheimus

I may be missing some crucial piece of the puzzle here but it would be incredibly useful to have access to the entity that called your console script. I see the example object is using configParameters to juggle data though there is not a lot of doco about that anywhere or on configParameters in general when it comes to starbound.

For instance if you made an object that connects to door nodes then brings up a nice GUI for controlling how those doors function. At the moment as far as I can figure out there is no way to access anything about your object from the console script (like wire connections) without somewhat dirtily scanning around using the world global to try and get your objects id which gets rather messy if you had more than one in close proximity.

Would be nice to have something along the lines of:
GUI.callingEntity -- giving you a reference to the entity that called this console script

Apologies if this is something incredibly obvious, am rather new to the way Lua (specifically starbound) does things.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions