BSL:Functions: Difference between revisions

no edit summary
No edit summary
Line 202: Line 202:
*playback [ai_name:string | script_id:int] film_name:string [mode:string{"fromhere" | "interp"}] [num_frames:int] - plays back a film -  Hangar1_A_Striker_1 hangar1_striker1 interp 30
*playback [ai_name:string | script_id:int] film_name:string [mode:string{"fromhere" | "interp"}] [num_frames:int] - plays back a film -  Hangar1_A_Striker_1 hangar1_striker1 interp 30
*playback_block [ai_name:string | script_id:int] film_name:string [mode:string{"fromhere" | "interp"}] [num_frames:int] - plays back a film and blocks until complete - playback_block Start_Friend_1 roll fromhere // *playback_block hangar1f_enemy_2 bomber_jump interp 30
*playback_block [ai_name:string | script_id:int] film_name:string [mode:string{"fromhere" | "interp"}] [num_frames:int] - plays back a film and blocks until complete - playback_block Start_Friend_1 roll fromhere // *playback_block hangar1f_enemy_2 bomber_jump interp 30
===diary===
*<span style="color:green"> diary_page_unlock page:int - unlocks a specific diary page on the current level
</span>
===door===
'''Commands which have an effect on all doors:'''
*<span style="color:green"> door_ignore_locks - disables all door locks - *door_ignore_locks = 1*</span>
'''Commands which have an effect on one door:'''
*door_open door_id:int - opens a door (may not stay open) - door_open 21
*door_close door_id:int - closes a door (may not stay open) - door_close 27
*door_lock door_id:int - locks a door - door_lock 6
*door_unlock door_id:int - unlocks a door - door_unlock 5
*door_jam door_id:int - jams a door in its current state - door_jam 5
*door_unjam door_id:int - unjams a door so characters can open it - door_unjam 8
830

edits