This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
scripting_reference [2020/09/27 00:04] – justin | scripting_reference [2021/06/19 12:51] – justin | ||
---|---|---|---|
Line 4: | Line 4: | ||
Action functions are used to trigger certain actions or events in your game, such as loading a map, playing an animation, or healing a character. These functions allow you to control the flow of your game and help give life to its world! Click on a function name for more details around its usage. | Action functions are used to trigger certain actions or events in your game, such as loading a map, playing an animation, or healing a character. These functions allow you to control the flow of your game and help give life to its world! Click on a function name for more details around its usage. | ||
^Name^Signature^ | ^Name^Signature^ | ||
- | |[[add_character|Add Character]]|**add_character**(// | + | |[[add_character|Add Character]]|**add_character**(// |
|[[add_item_to_container|Add Item To Container]]|**add_item_to_container**(// | |[[add_item_to_container|Add Item To Container]]|**add_item_to_container**(// | ||
|[[add_object|Add Object]]|**add_object**(// | |[[add_object|Add Object]]|**add_object**(// | ||
Line 12: | Line 12: | ||
|[[add_waypoint|Add Waypoint]]|**add_waypoint**(// | |[[add_waypoint|Add Waypoint]]|**add_waypoint**(// | ||
|[[assign_entity_id|Assign Entity ID]]|**assign_entity_id**(// | |[[assign_entity_id|Assign Entity ID]]|**assign_entity_id**(// | ||
- | |[[attach_object|Attach Object]]|**attach_object**(// | + | |[[attach_object|Attach Object]]|**attach_object**(// |
|[[create_platform|Create Platform]]|**create_platform**(// | |[[create_platform|Create Platform]]|**create_platform**(// | ||
|[[damage_entity|Damage Entity]]|**damage_entity**(// | |[[damage_entity|Damage Entity]]|**damage_entity**(// | ||
Line 29: | Line 29: | ||
|[[hide_inventory|Hide Inventory]]|**hide_inventory**()| | |[[hide_inventory|Hide Inventory]]|**hide_inventory**()| | ||
|[[hide_toolbar|Hide Toolbar]]|**hide_toolbar**()| | |[[hide_toolbar|Hide Toolbar]]|**hide_toolbar**()| | ||
+ | |[[hide_widget|Hide Widget]]|**hide_widget**(widget_id)| | ||
|[[load_map|Load Map]]|**load_map**(// | |[[load_map|Load Map]]|**load_map**(// | ||
|[[lock_camera|Lock Camera]]|**lock_camera**()| | |[[lock_camera|Lock Camera]]|**lock_camera**()| | ||
Line 95: | Line 96: | ||
|[[show_inventory|Show Inventory]]|**show_inventory**()| | |[[show_inventory|Show Inventory]]|**show_inventory**()| | ||
|[[show_toolbar|Show Toolbar]]|**show_toolbar**()| | |[[show_toolbar|Show Toolbar]]|**show_toolbar**()| | ||
+ | |[[show_widget|Show Widget]]|**show_widget**(widget_id)| | ||
|[[start_battle|Start Battle]]|**start_battle**(// | |[[start_battle|Start Battle]]|**start_battle**(// | ||
|[[start_dialogue|Start Dialogue]]|**start_dialogue**(// | |[[start_dialogue|Start Dialogue]]|**start_dialogue**(// |