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 [2021/06/19 18:41] justinscripting_reference [2021/11/04 18:56] justin
Line 14: Line 14:
 |[[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//)|
 +|[[apply_lighting_preset|Apply Lighting Preset]]|**apply_lighting_preset**(//preset//, //*duration//)|
 |[[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_id//, //*target_attach_id//)| |[[attach_object|Attach Object]]|**attach_object**(//model_name//, //target_entity//, //attach_id//, //*target_attach_id//)|
Line 20: Line 21:
 |[[detach_object|Detach Object]]|**detach_object**(//entity//, //attach_point_id//)| |[[detach_object|Detach Object]]|**detach_object**(//entity//, //attach_point_id//)|
 |[[disable_container|Disable Container]]|**disable_container**(//entity_id//)| |[[disable_container|Disable Container]]|**disable_container**(//entity_id//)|
-|[[display_message|Display Message]]|**display_message**(//message_text//)|+|[[display_choices|Display Choices]]|**display_choices**(//message_text//, //choices//, //*speaker//)| 
 +|[[display_message|Display Message]]|**display_message**(//message_text//, //*speaker//)|
 |[[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//)|
Line 53: Line 55:
 |[[play_sound|Play Sound]]|**play_sound**(//sound_name//)| |[[play_sound|Play Sound]]|**play_sound**(//sound_name//)|
 |[[print|Print]]|**print**(//data//)| |[[print|Print]]|**print**(//data//)|
-|[[put_entity|Put Entity]]|**put_entity**(//entity//, //tile_id//)| +|[[put_entity|Put Entity]]|**put_entity**(//entity//, //target_tile//)| 
-|[[put_player|Put Player]]|**put_player**(//tile_id//, //*direction//)|+|[[put_player|Put Player]]|**put_player**(//target_tile//, //*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//)|
Line 75: Line 77:
 |[[set_ambient_light_color|Set Ambient Light Color]]|**set_ambient_light_color**(//color//, //*duration//)| |[[set_ambient_light_color|Set Ambient Light Color]]|**set_ambient_light_color**(//color//, //*duration//)|
 |[[set_ambient_light_enabled|Set Ambient Light Enabled]]|**set_ambient_light_enabled**(//enabled//)| |[[set_ambient_light_enabled|Set Ambient Light Enabled]]|**set_ambient_light_enabled**(//enabled//)|
 +|[[set_ambient_light_intensity|Set Ambient Light Intensity]]|**set_ambient_light_intensity**(//intensity//, //*duration//)|
 |[[set_animation_speed|Set Animation Speed]]|**set_animation_speed**(//entity//, //animation_name//, //speed//)| |[[set_animation_speed|Set Animation Speed]]|**set_animation_speed**(//entity//, //animation_name//, //speed//)|
 |[[set_character_name|Set Character Name]]|**set_character_name**(//entity_id//, //name//)| |[[set_character_name|Set Character Name]]|**set_character_name**(//entity_id//, //name//)|
Line 80: Line 83:
 |[[set_directional_light_color|Set Directional Light Color]]|**set_directional_light_color**(//color//, //*duration//)| |[[set_directional_light_color|Set Directional Light Color]]|**set_directional_light_color**(//color//, //*duration//)|
 |[[set_directional_light_enabled|Set Directional Light Enabled]]|**set_directional_light_enabled**(//enabled//)| |[[set_directional_light_enabled|Set Directional Light Enabled]]|**set_directional_light_enabled**(//enabled//)|
 +|[[set_directional_light_intensity|Set Directional Light Intensity]]|**set_directional_light_intensity**(//intensity//, //*duration//)|
 |[[set_entity_blocks_sight|Set Entity Blocks Sight]]|**set_entity_blocks_sight**(//entity//, //blocks_sight//)| |[[set_entity_blocks_sight|Set Entity Blocks Sight]]|**set_entity_blocks_sight**(//entity//, //blocks_sight//)|
 |[[set_entity_light_attenuation|Set Entity Light Attenuation]]|**set_entity_light_attenuation**(//entity//, //attenuation//, //*duration//)| |[[set_entity_light_attenuation|Set Entity Light Attenuation]]|**set_entity_light_attenuation**(//entity//, //attenuation//, //*duration//)|
scripting_reference.txt · Last modified: 2024/04/04 20:38 by justin