![]() This means that the event name associated is fired when we click on the command, and the UI will pick it up in the. One common action for a command is "fire_event". "call" - this command will call a function (defined in a "function" field) with some arguments (defined in an "args" array, which can be empty if we don't need to pass any or if the only argument we need to pass is the entity that has this command).Then, refer to the file or alias relevant for each command you want to add inside the "commands" array: "stonehearth:commands" : ). json file, and add "stonehearth:commands" in the "components" section. To make a command available on an entity, go to the entity's. To print the full set of flashcards, click on the 'Full Set' thumbnails at the bottom (click here for more detailed printing instructions). To print a single flashcard, click the Print button (click here for more detailed printing instructions). You can also open the promotion tree by clicking on the job icon inside the character sheet. For a preview of each flashcard picture, click on the thumbnail. ![]() It also adds the "Change Jobs" button, which isn't treated as a command, it will directly bring up the promotion UI. The citizens panel lists all commands available for the selected hearthling too, so that we can use them from there. Some components or other Lua scripts add the commands manually like this, instead of on each JSON file: local commandcomponent self. They are managed through the commands component.īelow are some command buttons on a hearthling's unit frame (the UI bar that displays information about a hearthling): For example, "Release Pet" for pets, "Move Item" for decorations, and "Workshop" for workbenches and crafters. A command is an order that the players can issue on an entity they have clicked on.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |