User Tools

Site Tools


scripting_reference

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
scripting_reference [2020/09/27 00:04] justinscripting_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**(//model_name//, //tile//, //entity_id//)|+|[[add_character|Add Character]]|**add_character**(//model_name//, //tile//, //*entity_id//)|
 |[[add_item_to_container|Add Item To Container]]|**add_item_to_container**(//entity//, //item_id//, //count//)| |[[add_item_to_container|Add Item To Container]]|**add_item_to_container**(//entity//, //item_id//, //count//)|
 |[[add_object|Add Object]]|**add_object**(//model_name//, //tile//, //entity_id//)| |[[add_object|Add Object]]|**add_object**(//model_name//, //tile//, //entity_id//)|
Line 12: Line 12:
 |[[add_waypoint|Add Waypoint]]|**add_waypoint**(//tile//, //waypoint_name//, //waypoint_coordinate//)| |[[add_waypoint|Add Waypoint]]|**add_waypoint**(//tile//, //waypoint_name//, //waypoint_coordinate//)|
 |[[assign_entity_id|Assign Entity ID]]|**assign_entity_id**(//entity//, //entity_id//)| |[[assign_entity_id|Assign Entity ID]]|**assign_entity_id**(//entity//, //entity_id//)|
-|[[attach_object|Attach Object]]|**attach_object**(//model_name//, //target_entity//, //attach_point_id//)|+|[[attach_object|Attach Object]]|**attach_object**(//model_name//, //target_entity//, //attach_id//, //target_attach_id//)|
 |[[create_platform|Create Platform]]|**create_platform**(//tile//, //speed//)| |[[create_platform|Create Platform]]|**create_platform**(//tile//, //speed//)|
 |[[damage_entity|Damage Entity]]|**damage_entity**(//entity//, //damage_amount//)| |[[damage_entity|Damage Entity]]|**damage_entity**(//entity//, //damage_amount//)|
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**(//map_name//, //player_coord//, //player_direction//)| |[[load_map|Load Map]]|**load_map**(//map_name//, //player_coord//, //player_direction//)|
 |[[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**(//battle_name//)| |[[start_battle|Start Battle]]|**start_battle**(//battle_name//)|
 |[[start_dialogue|Start Dialogue]]|**start_dialogue**(//dialogue_name//)| |[[start_dialogue|Start Dialogue]]|**start_dialogue**(//dialogue_name//)|
scripting_reference.txt · Last modified: 2024/04/04 20:38 by justin