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: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**(//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//)|
 |[[add_party_member|Add Party Member]]|**add_party_member**(//model_name//, //member_id//)| |[[add_party_member|Add Party Member]]|**add_party_member**(//model_name//, //member_id//)|
-|[[add_tile|Add Tile]]|**add_tile**(//model_name//, //coordinate//, //entity_id//)|+|[[add_tile|Add Tile]]|**add_tile**(//model_name//, //coordinate//, //*entity_id//)|
 |[[add_to_group|Add To Group]]|**add_to_group**(//entity//, //group_name//)| |[[add_to_group|Add To Group]]|**add_to_group**(//entity//, //group_name//)|
 |[[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 20: Line 20:
 |[[enable_container|Enable Container]]|**enable_container**(//entity_id//)| |[[enable_container|Enable Container]]|**enable_container**(//entity_id//)|
 |[[end_battle|End Battle]]|**end_battle**(//victory//)| |[[end_battle|End Battle]]|**end_battle**(//victory//)|
-|[[equip_item|Equip Item]]|**equip_item**(//character//, //slot_id//, //item_id//)| +|[[equip_item|Equip Item]]|**equip_item**(//character//, //slot_id//, //item_id//, //*count//)| 
-|[[execute_script|Execute Script]]|**execute_script**(//script_name//)|+|[[execute_script|Execute Script]]|**execute_script**(//script_name//, //*pause//)|
 |[[fade_in|Fade In]]|**fade_in**(//duration//)| |[[fade_in|Fade In]]|**fade_in**(//duration//)|
 |[[fade_out|Fade Out]]|**fade_out**(//duration//)| |[[fade_out|Fade Out]]|**fade_out**(//duration//)|
-|[[give_item|Give Item]]|**give_item**(//item_id//, //count//)|+|[[give_item|Give Item]]|**give_item**(//item_id//, //*count//, //*character//)|
 |[[heal_entity|Heal Entity]]|**heal_entity**(//entity//, //heal_amount//)| |[[heal_entity|Heal Entity]]|**heal_entity**(//entity//, //heal_amount//)|
 |[[hide_group|Hide Group]]|**hide_group**(//group_name//)| |[[hide_group|Hide Group]]|**hide_group**(//group_name//)|
 |[[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**(//map_name//, //player_coord//, //player_direction//)|+|[[hide_widget|Hide Widget]]|**hide_widget**(widget_id)| 
 +|[[load_map|Load Map]]|**load_map**(//map_name//, //player_coord//, //*player_direction//)|
 |[[lock_camera|Lock Camera]]|**lock_camera**()| |[[lock_camera|Lock Camera]]|**lock_camera**()|
 |[[set_player_interaction_locked|Lock/Unlock Player Interaction]]|**set_player_interaction_locked**(//is_locked//)| |[[set_player_interaction_locked|Lock/Unlock Player Interaction]]|**set_player_interaction_locked**(//is_locked//)|
Line 37: Line 38:
 |[[look_at_target_over_time|Look At Target Over Time]]|**look_at_target_over_time**(//target//, //duration//)| |[[look_at_target_over_time|Look At Target Over Time]]|**look_at_target_over_time**(//target//, //duration//)|
 |[[modify_navigation|Modify Navigation]]|**modify_navigation**(//first_tile_id//, //second_tile_id//, //navigation_type//)| |[[modify_navigation|Modify Navigation]]|**modify_navigation**(//first_tile_id//, //second_tile_id//, //navigation_type//)|
-|[[move_camera|Move Camera]]|**move_camera**(//destination//, //look_at_target//)| +|[[move_camera|Move Camera]]|**move_camera**(//destination//, //*look_at_target//)| 
-|[[move_camera_at_speed|Move Camera At Speed]]|**move_camera_at_speed**(//destination//, //speed//, //look_at_target//)| +|[[move_camera_at_speed|Move Camera At Speed]]|**move_camera_at_speed**(//destination//, //speed//, //*look_at_target//)| 
-|[[move_camera_over_time|Move Camera Over Time]]|**move_camera_over_time**(//destination//, //duration//, //look_at_target//)|+|[[move_camera_over_time|Move Camera Over Time]]|**move_camera_over_time**(//destination//, //duration//, //*look_at_target//)|
 |[[move_character|Move Character]]|**move_character**(//character//, //tile//)| |[[move_character|Move Character]]|**move_character**(//character//, //tile//)|
 |[[move_player|Move Player]]|**move_player**(//tile//)| |[[move_player|Move Player]]|**move_player**(//tile//)|
-|[[move_platform|Move Platform]]|**move_platform**(//tile//, //waypoint_name//, //pause//)|+|[[move_platform|Move Platform]]|**move_platform**(//tile//, //waypoint_name//, //*pause//)|
 |[[override_animation|Override Animation]]|**override_animation**(//entity//, //anim_to_override//, //override_with//)| |[[override_animation|Override Animation]]|**override_animation**(//entity//, //anim_to_override//, //override_with//)|
 |[[play_animation|Play Animation]]|**play_animation**(//entity//, //animation_name//)| |[[play_animation|Play Animation]]|**play_animation**(//entity//, //animation_name//)|
Line 50: Line 51:
 |[[print|Print]]|**print**(//data//)| |[[print|Print]]|**print**(//data//)|
 |[[put_entity|Put Entity]]|**put_entity**(//entity//, //tile_id//)| |[[put_entity|Put Entity]]|**put_entity**(//entity//, //tile_id//)|
-|[[put_player|Put Player]]|**put_player**(//tile_id//, //direction//)|+|[[put_player|Put Player]]|**put_player**(//tile_id//, //*direction//)|
 |[[remove_entity|Remove Entity]]|**remove_entity**(//entity//)| |[[remove_entity|Remove Entity]]|**remove_entity**(//entity//)|
 |[[remove_from_group|Remove From Group]]|**remove_from_group**(//entity//, //group_name//)| |[[remove_from_group|Remove From Group]]|**remove_from_group**(//entity//, //group_name//)|
 |[[remove_item|Remove Item]]|**remove_item**(//item_id//, //count//)| |[[remove_item|Remove Item]]|**remove_item**(//item_id//, //count//)|
 +|[[remove_item_from_container|Remove Item From Container]]|**remove_item_from_container**(//entity//, //item_id//, //*count//)|
 |[[remove_party_member|Remove Party Member]]|**remove_party_member**(//member_id//)| |[[remove_party_member|Remove Party Member]]|**remove_party_member**(//member_id//)|
 |[[replace_navigation|Replace Navigation]]|**replace_navigation**(//entity//, //navigation_type//, //new_navigation_type//)| |[[replace_navigation|Replace Navigation]]|**replace_navigation**(//entity//, //navigation_type//, //new_navigation_type//)|
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**(//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//)|
 |[[stop_player|Stop Player]]|**stop_player**()| |[[stop_player|Stop Player]]|**stop_player**()|
-|[[unequip_item|Unequip Item]]|*unequip_item**(//character//, //slot_id//)|+|[[unequip_item|Unequip Item]]|**unequip_item**(//character//, //slot_id//)|
 |[[wait|Wait]]|**wait**(//duration//)| |[[wait|Wait]]|**wait**(//duration//)|
  
scripting_reference.txt · Last modified: 2024/04/04 20:38 by justin