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:56] – 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**(// |
|[[add_party_member|Add Party Member]]|**add_party_member**(// | |[[add_party_member|Add Party Member]]|**add_party_member**(// | ||
- | |[[add_tile|Add Tile]]|**add_tile**(// | + | |[[add_tile|Add Tile]]|**add_tile**(// |
|[[add_to_group|Add To Group]]|**add_to_group**(// | |[[add_to_group|Add To Group]]|**add_to_group**(// | ||
|[[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 20: | Line 20: | ||
|[[enable_container|Enable Container]]|**enable_container**(// | |[[enable_container|Enable Container]]|**enable_container**(// | ||
|[[end_battle|End Battle]]|**end_battle**(// | |[[end_battle|End Battle]]|**end_battle**(// | ||
- | |[[equip_item|Equip Item]]|**equip_item**(// | + | |[[equip_item|Equip Item]]|**equip_item**(// |
- | |[[execute_script|Execute Script]]|**execute_script**(// | + | |[[execute_script|Execute Script]]|**execute_script**(// |
|[[fade_in|Fade In]]|**fade_in**(// | |[[fade_in|Fade In]]|**fade_in**(// | ||
|[[fade_out|Fade Out]]|**fade_out**(// | |[[fade_out|Fade Out]]|**fade_out**(// | ||
- | |[[give_item|Give Item]]|**give_item**(// | + | |[[give_item|Give Item]]|**give_item**(// |
|[[heal_entity|Heal Entity]]|**heal_entity**(// | |[[heal_entity|Heal Entity]]|**heal_entity**(// | ||
|[[hide_group|Hide Group]]|**hide_group**(// | |[[hide_group|Hide Group]]|**hide_group**(// | ||
|[[hide_inventory|Hide Inventory]]|**hide_inventory**()| | |[[hide_inventory|Hide Inventory]]|**hide_inventory**()| | ||
|[[hide_toolbar|Hide Toolbar]]|**hide_toolbar**()| | |[[hide_toolbar|Hide Toolbar]]|**hide_toolbar**()| | ||
- | |[[load_map|Load Map]]|**load_map**(// | + | |[[hide_widget|Hide Widget]]|**hide_widget**(widget_id)| |
+ | |[[load_map|Load Map]]|**load_map**(// | ||
|[[lock_camera|Lock Camera]]|**lock_camera**()| | |[[lock_camera|Lock Camera]]|**lock_camera**()| | ||
|[[set_player_interaction_locked|Lock/ | |[[set_player_interaction_locked|Lock/ | ||
Line 37: | Line 38: | ||
|[[look_at_target_over_time|Look At Target Over Time]]|**look_at_target_over_time**(// | |[[look_at_target_over_time|Look At Target Over Time]]|**look_at_target_over_time**(// | ||
|[[modify_navigation|Modify Navigation]]|**modify_navigation**(// | |[[modify_navigation|Modify Navigation]]|**modify_navigation**(// | ||
- | |[[move_camera|Move Camera]]|**move_camera**(// | + | |[[move_camera|Move Camera]]|**move_camera**(// |
- | |[[move_camera_at_speed|Move Camera At Speed]]|**move_camera_at_speed**(// | + | |[[move_camera_at_speed|Move Camera At Speed]]|**move_camera_at_speed**(// |
- | |[[move_camera_over_time|Move Camera Over Time]]|**move_camera_over_time**(// | + | |[[move_camera_over_time|Move Camera Over Time]]|**move_camera_over_time**(// |
|[[move_character|Move Character]]|**move_character**(// | |[[move_character|Move Character]]|**move_character**(// | ||
|[[move_player|Move Player]]|**move_player**(// | |[[move_player|Move Player]]|**move_player**(// | ||
- | |[[move_platform|Move Platform]]|**move_platform**(// | + | |[[move_platform|Move Platform]]|**move_platform**(// |
|[[override_animation|Override Animation]]|**override_animation**(// | |[[override_animation|Override Animation]]|**override_animation**(// | ||
|[[play_animation|Play Animation]]|**play_animation**(// | |[[play_animation|Play Animation]]|**play_animation**(// | ||
Line 50: | Line 51: | ||
|[[print|Print]]|**print**(// | |[[print|Print]]|**print**(// | ||
|[[put_entity|Put Entity]]|**put_entity**(// | |[[put_entity|Put Entity]]|**put_entity**(// | ||
- | |[[put_player|Put Player]]|**put_player**(// | + | |[[put_player|Put Player]]|**put_player**(// |
|[[remove_entity|Remove Entity]]|**remove_entity**(// | |[[remove_entity|Remove Entity]]|**remove_entity**(// | ||
|[[remove_from_group|Remove From Group]]|**remove_from_group**(// | |[[remove_from_group|Remove From Group]]|**remove_from_group**(// | ||
|[[remove_item|Remove Item]]|**remove_item**(// | |[[remove_item|Remove Item]]|**remove_item**(// | ||
+ | |[[remove_item_from_container|Remove Item From Container]]|**remove_item_from_container**(// | ||
|[[remove_party_member|Remove Party Member]]|**remove_party_member**(// | |[[remove_party_member|Remove Party Member]]|**remove_party_member**(// | ||
|[[replace_navigation|Replace Navigation]]|**replace_navigation**(// | |[[replace_navigation|Replace Navigation]]|**replace_navigation**(// | ||
Line 95: | Line 97: | ||
|[[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**(// | ||
|[[stop_player|Stop Player]]|**stop_player**()| | |[[stop_player|Stop Player]]|**stop_player**()| | ||
- | |[[unequip_item|Unequip Item]]|*unequip_item**(// | + | |[[unequip_item|Unequip Item]]|**unequip_item**(// |
|[[wait|Wait]]|**wait**(// | |[[wait|Wait]]|**wait**(// | ||