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 [2024/02/21 21:36] – justin | scripting_reference [2024/04/04 20:38] – justin | ||
---|---|---|---|
Line 18: | Line 18: | ||
^Variable^Description^Data Type^ | ^Variable^Description^Data Type^ | ||
|camera.direction|Direction in which the camera is currently facing (nearest [[cardinal direction]], | |camera.direction|Direction in which the camera is currently facing (nearest [[cardinal direction]], | ||
+ | |camera.type|Current camera type (STANDARD, ISOMETRIC, or FIRST_PERSON).|Camera Type| | ||
+ | |camera.view_model|Current view model [[entity]] for the camera. Can be used to retrieve or modify the view model.|[[Entity]]| | ||
=====Party Variables===== | =====Party Variables===== | ||
^Variable^Description^Data Type^ | ^Variable^Description^Data Type^ | ||
|party.member[" | |party.member[" | ||
+ | |party|[[Codex]] containing all members of the player' | ||
=====System Variables===== | =====System Variables===== | ||
Line 36: | Line 39: | ||
|substr(// | |substr(// | ||
|range(// | |range(// | ||
- | |inverse(// | + | |inverse(// |
|duplicate(// | |duplicate(// | ||
|clamp(// | |clamp(// | ||
Line 81: | Line 84: | ||
|[[detach_effect|Detach Effect]]|**detach_effect**(// | |[[detach_effect|Detach Effect]]|**detach_effect**(// | ||
|[[detach_object|Detach Object]]|**detach_object**(// | |[[detach_object|Detach Object]]|**detach_object**(// | ||
+ | |[[disable_action|Disable Action]]|**disable_action**(// | ||
|[[disable_container|Disable Container]]|**disable_container**(// | |[[disable_container|Disable Container]]|**disable_container**(// | ||
|[[disable_conveyor|Disable Conveyor]]|**disable_conveyor**(// | |[[disable_conveyor|Disable Conveyor]]|**disable_conveyor**(// | ||
|[[disable_effect|Disable Effect]]|**disable_effect**(// | |[[disable_effect|Disable Effect]]|**disable_effect**(// | ||
+ | |[[disable_screen_effect|Disable Screen Effect]]|**disable_screen_effect**(// | ||
|[[disable_turret|Disable Turret]]|**disable_turret**(// | |[[disable_turret|Disable Turret]]|**disable_turret**(// | ||
|[[disable_zone|Disable Zone]]|**disable_zone**(// | |[[disable_zone|Disable Zone]]|**disable_zone**(// | ||
Line 89: | Line 94: | ||
|[[display_image|Display Image]]|**display_image**(// | |[[display_image|Display Image]]|**display_image**(// | ||
|[[display_message|Display Message]]|**display_message**(// | |[[display_message|Display Message]]|**display_message**(// | ||
+ | |[[enable_action|Enable Action]]|**enable_action**(// | ||
|[[enable_container|Enable Container]]|**enable_container**(// | |[[enable_container|Enable Container]]|**enable_container**(// | ||
|[[enable_conveyor|Enable Conveyor]]|**enable_conveyor**(// | |[[enable_conveyor|Enable Conveyor]]|**enable_conveyor**(// | ||
|[[enable_effect|Enable Effect]]|**enable_effect**(// | |[[enable_effect|Enable Effect]]|**enable_effect**(// | ||
+ | |[[enable_screen_effect|Enable Screen Effect]]|**enable_screen_effect**(// | ||
|[[enable_turret|Enable Turret]]|**enable_turret**(// | |[[enable_turret|Enable Turret]]|**enable_turret**(// | ||
|[[enable_zone|Enable Zone]]|**enable_zone**(// | |[[enable_zone|Enable Zone]]|**enable_zone**(// | ||
Line 103: | Line 110: | ||
|[[get_noise_2d|Get Noise 2D]]|**get_noise_2d**(// | |[[get_noise_2d|Get Noise 2D]]|**get_noise_2d**(// | ||
|[[get_noise_3d|Get Noise 3D]]|**get_noise_3d**(// | |[[get_noise_3d|Get Noise 3D]]|**get_noise_3d**(// | ||
+ | |[[give_currency|Give Currency]]|**give_currency**(// | ||
|[[give_item|Give Item]]|**give_item**(// | |[[give_item|Give Item]]|**give_item**(// | ||
|[[give_loot|Give Loot]]|**give_loot**(// | |[[give_loot|Give Loot]]|**give_loot**(// | ||
Line 141: | Line 149: | ||
|[[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_currency|Give Currency]]|**remove_currency**(// | ||
|[[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**(// | ||
Line 172: | Line 181: | ||
|[[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_conveyor_reversed|Set Conveyor Reversed]]|**set_conveyor_reversed**(// | + | |[[set_conveyor_reversed|Set Conveyor Reversed]]|**set_conveyor_reversed**(// |
|[[set_conveyor_speed|Set Conveyor Speed]]|**set_conveyor_speed**(// | |[[set_conveyor_speed|Set Conveyor Speed]]|**set_conveyor_speed**(// | ||
|[[set_dialogue|Set Dialogue]]|**set_dialogue**(// | |[[set_dialogue|Set Dialogue]]|**set_dialogue**(// | ||
Line 204: | Line 213: | ||
|[[set_vision_height|Set Vision Height]]|**set_vision_height**(// | |[[set_vision_height|Set Vision Height]]|**set_vision_height**(// | ||
|[[set_zone_script|Set Zone Script]]|**set_zone_script**(// | |[[set_zone_script|Set Zone Script]]|**set_zone_script**(// | ||
+ | |[[shake_screen|Shake Screen]]|**shake_screen**(// | ||
|[[show_credits|Show Credits]]|**show_credits**()| | |[[show_credits|Show Credits]]|**show_credits**()| | ||
|[[show_group|Show Group]]|**show_group**(// | |[[show_group|Show Group]]|**show_group**(// |