User Tools

Site Tools


scripting_reference

Scripting Reference


Functions

Click on a function name for more details around its usage.

NameSignature
Add Tileadd_tile(model_name, coordinate, entity_id)
Damage Entitydamage_entity(entity, damage_amount)
Display Messagedisplay_message(message_text)
Fade Infade_in(duration)
Fade Outfade_out(duration)
Give Itemgive_item(item_name)
Heal Entityheal_entity(entity, heal_amount)
Hide Toolbarhide_toolbar()
Load Mapload_map(map_name, player_coord, player_direction)
Lock Cameralock_camera()
Lock/Unlock Player Interactionset_player_interaction_locked(is_locked)
Lock/Unlock Player Movementset_player_movement_locked(is_locked)
Look At Targetlook_at_target(target)
Look At Target Over Timelook_at_target_over_time(target, duration)
Modify Navigationmodify_navigation(first_tile_id, second_tile_id, navigation_type)
Move Cameramove_camera(destination, look_at_target)
Move Camera At Speedmove_camera_at_speed(destination, speed, look_at_target)
Move Camera Over Timemove_camera_over_time(destination, duration, look_at_target)
Move Charactermove_character(character, tile_id)
Move Playermove_player(tile_id)
Play Animationplay_animation(entity, animation_name)
Play Group Animationplay_group_animation(group_name, animation_name)
Play Soundplay_sound(sound_name)
Put Entityput_entity(entity_id, tile_id)
Put Playerput_player(tile_id, direction)
Remove Entityremove_entity(entity)
Remove Itemremove_item(item_name)
Replace Navigationreplace_navigation(entity, navigation_type, new_navigation_type)
Reset Camerareset_camera()
Reset Camera At Speedreset_camera_at_speed(speed)
Reset Camera Over Timereset_camera_over_time(duration)
Reset Entity Rotationreset_entity_rotation(entity, duration)
Rotate Camerarotate_camera(horizontal_angle, vertical_angle)
Rotate Camera Over Timerotate_camera_over_time(horizontal_angle, vertical_angle, duration)
Rotate Entity Towardsrotate_entity_towards(entity, target_entity, also_rotate_target, duration)
Rotate Player To Directionrotate_player_to_direction(direction)
Set Ambient Light Colorset_ambient_light_color(color, duration)
Set Ambient Light Enabledset_ambient_light_enabled(enabled)
Set Animation Speedset_animation_speed(entity, animation_name, speed)
Set Character Nameset_character_name(character_id, name)
Set Dialogueset_dialogue(character_id, dialogue_name)
Set Directional Light Colorset_directional_light_color(color, duration)
Set Directional Light Enabledset_directional_light_enabled(enabled)
Set Entity Light Colorset_entity_light_color(entity, color, duration)
Set Entity Light Enabledset_entity_light_enabled(entity, enabled)
Set Entity Modelset_entity_model(entity, model_name)
Set Entity Propertyset_entity_property(entity, property_name, property_value)
Set Entity Scriptset_entity_script(entity, script_name)
Set Global Propertyset_global_property(property_name, property_value)
Set Languageset_language(locale_code)
Set Movement Speedset_movement_speed(character, speed)
Set Vision Heightset_vision_height(character, height)
Show Creditsshow_credits()
Show Toolbarshow_toolbar()
Start Battlestart_battle(battle_name)
Start Dialoguestart_dialogue(dialogue_name)
Stop Playerstop_player()
Waitwait(duration)
scripting_reference.txt · Last modified: 2017/08/11 23:12 by justin