Jump to content

BSL:Functions: Difference between revisions

no edit summary
No edit summary
Line 181: Line 181:
*console_deactivate console_id:int - deactivates a console - console_deactivate 5
*console_deactivate console_id:int - deactivates a console - console_deactivate 5
*console_reset console_id:int - resets a console to initial state - console_reset 7 text_console name:string - Turns on the text console display - text_console level_6d
*console_reset console_id:int - resets a console to initial state - console_reset 7 text_console name:string - Turns on the text console display - text_console level_6d


===corpse===
===corpse===
Line 192: Line 191:
trigvolume_corpse trig_id:int - kills all the corpses inside a trigger volume - trigvolume_corpse 32
trigvolume_corpse trig_id:int - kills all the corpses inside a trigger volume - trigvolume_corpse 32


===door_===
===cutscene===
 
*begin_cutscene (null) - begins a cutscene - begin_cutscene
cutscene_sync (null) - marks a point in a cutscene - cutscene_sync on
*end_cutscene (null) - ends a cutscene - end_cutscene
*fade_in ticks:int - fades the screen in - fade_in 120
*fade_out [r:float | r:int] [g:float | g:int] [b:float | b:int] ticks:int - fades the screen out - fade_out 0 0 0 120
*input on_off:int{0 | 1} - turns input on or off - input 0
*letterbox start_stop:int{0 | 1} - starts or stops letterboxing - letterbox 0
*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
 
ai2 - camera - character - cinematic - console - coprse - cutscene - diary - door - environment - game - graphics - input - message - movie - object - objective - player
830

edits