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 [2019/10/28 11:29] – justin | scripting_reference [2020/05/04 08:58] – justin | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Scripting Reference====== | ======Scripting Reference====== | ||
---- | ---- | ||
- | =====Functions===== | + | =====Action |
- | 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! |
^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_object|Add Object]]|**add_object**(// | |[[add_object|Add Object]]|**add_object**(// | ||
+ | |[[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**(// | ||
+ | |[[assign_entity_id|Assign Entity ID]]|**assign_entity_id**(// | ||
|[[damage_entity|Damage Entity]]|**damage_entity**(// | |[[damage_entity|Damage Entity]]|**damage_entity**(// | ||
|[[disable_container|Disable Container]]|**disable_container**(// | |[[disable_container|Disable Container]]|**disable_container**(// | ||
|[[display_message|Display Message]]|**display_message**(// | |[[display_message|Display Message]]|**display_message**(// | ||
|[[enable_container|Enable Container]]|**enable_container**(// | |[[enable_container|Enable Container]]|**enable_container**(// | ||
+ | |[[end_battle|End Battle]]|**end_battle**(// | ||
|[[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**(// | ||
Line 29: | Line 34: | ||
|[[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**(// | ||
|[[override_animation|Override Animation]]|**override_animation**(// | |[[override_animation|Override Animation]]|**override_animation**(// | ||
|[[play_animation|Play Animation]]|**play_animation**(// | |[[play_animation|Play Animation]]|**play_animation**(// | ||
|[[play_group_animation|Play Group Animation]]|**play_group_animation**(// | |[[play_group_animation|Play Group Animation]]|**play_group_animation**(// | ||
+ | |[[play_music|Play Music]]|**play_music**(// | ||
|[[play_sound|Play Sound]]|**play_sound**(// | |[[play_sound|Play Sound]]|**play_sound**(// | ||
|[[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_item|Remove Item]]|**remove_item**(// | + | |[[remove_from_group|Remove From Group]]|**remove_from_group**(// |
+ | |[[remove_item|Remove Item]]|**remove_item**(// | ||
+ | |[[remove_party_member|Remove Party Member]]|**remove_party_member**(// | ||
|[[replace_navigation|Replace Navigation]]|**replace_navigation**(// | |[[replace_navigation|Replace Navigation]]|**replace_navigation**(// | ||
|[[reset_camera|Reset Camera]]|**reset_camera**()| | |[[reset_camera|Reset Camera]]|**reset_camera**()| | ||
Line 45: | Line 54: | ||
|[[reset_camera_over_time|Reset Camera Over Time]]|**reset_camera_over_time**(// | |[[reset_camera_over_time|Reset Camera Over Time]]|**reset_camera_over_time**(// | ||
|[[reset_entity_rotation|Reset Entity Rotation]]|**reset_entity_rotation**(// | |[[reset_entity_rotation|Reset Entity Rotation]]|**reset_entity_rotation**(// | ||
+ | |[[restart_game|Restart Game]]|**restart_game**()| | ||
+ | |[[restore_party_member|Restore Party Member]]|**restore_party_member**(// | ||
+ | |[[revive_character|Revive Character]]|**revive_character**(// | ||
|[[rotate_camera|Rotate Camera]]|**rotate_camera**(// | |[[rotate_camera|Rotate Camera]]|**rotate_camera**(// | ||
|[[rotate_camera_over_time|Rotate Camera Over Time]]|**rotate_camera_over_time**(// | |[[rotate_camera_over_time|Rotate Camera Over Time]]|**rotate_camera_over_time**(// | ||
Line 52: | Line 64: | ||
|[[set_ambient_light_enabled|Set Ambient Light Enabled]]|**set_ambient_light_enabled**(// | |[[set_ambient_light_enabled|Set Ambient Light Enabled]]|**set_ambient_light_enabled**(// | ||
|[[set_animation_speed|Set Animation Speed]]|**set_animation_speed**(// | |[[set_animation_speed|Set Animation Speed]]|**set_animation_speed**(// | ||
- | |[[set_character_name|Set Character Name]]|**set_character_name**(// | + | |[[set_character_name|Set Character Name]]|**set_character_name**(// |
- | |[[set_dialogue|Set Dialogue]]|**set_dialogue**(// | + | |[[set_dialogue|Set Dialogue]]|**set_dialogue**(// |
|[[set_directional_light_color|Set Directional Light Color]]|**set_directional_light_color**(// | |[[set_directional_light_color|Set Directional Light Color]]|**set_directional_light_color**(// | ||
|[[set_directional_light_enabled|Set Directional Light Enabled]]|**set_directional_light_enabled**(// | |[[set_directional_light_enabled|Set Directional Light Enabled]]|**set_directional_light_enabled**(// | ||
|[[set_entity_blocks_sight|Set Entity Blocks Sight]]|**set_entity_blocks_sight**(// | |[[set_entity_blocks_sight|Set Entity Blocks Sight]]|**set_entity_blocks_sight**(// | ||
+ | |[[set_entity_light_attenuation|Set Entity Light Attenuation]]|**set_entity_light_attenuation**(// | ||
|[[set_entity_light_color|Set Entity Light Color]]|**set_entity_light_color**(// | |[[set_entity_light_color|Set Entity Light Color]]|**set_entity_light_color**(// | ||
+ | |[[set_entity_light_diameter|Set Entity Light Diameter]]|**set_entity_light_diameter**(// | ||
|[[set_entity_light_enabled|Set Entity Light Enabled]]|**set_entity_light_enabled**(// | |[[set_entity_light_enabled|Set Entity Light Enabled]]|**set_entity_light_enabled**(// | ||
+ | |[[set_entity_light_intensity|Set Entity Light Intensity]]|**set_entity_light_intensity**(// | ||
|[[set_entity_model|Set Entity Model]]|**set_entity_model**(// | |[[set_entity_model|Set Entity Model]]|**set_entity_model**(// | ||
|[[set_entity_property|Set Entity Property]]|**set_entity_property**(// | |[[set_entity_property|Set Entity Property]]|**set_entity_property**(// |