Jump to content

BSL:Functions: Difference between revisions

Line 68: Line 68:
*ai2_spawn ai_name:string [force_spawn:string{"force"}] - creates and starts an AI from a character object - ai2_spawn ambush_striker_2
*ai2_spawn ai_name:string [force_spawn:string{"force"}] - creates and starts an AI from a character object - ai2_spawn ambush_striker_2
*ai2_tripalarm - alarm_id:int [ai_name:string | script_id:int] - trips an alarm - ai2_tripalarm 2 0
*ai2_tripalarm - alarm_id:int [ai_name:string | script_id:int] - trips an alarm - ai2_tripalarm 2 0
===cm_===
*cm_anim cam_spec:string{"move" | "look" | "both"} anim_name:string - initiates a camera animation - cm_anim both OutroCam03
*cm_anim_block cam_spec:string{"move" | "look" | "both"} anim_name:string - initiates a camera animation - *cm_anim_block both OutroCam04
*cm_barabus [ai_name:string | script_id:int] away:float up:float time:int - special camera for barabus
*<span style="color:green">cm_canter_unarmed - camera canter - *cm_canter_unarmed = 30*</span>
*<span style="color:green">cm_canter_weapon - camera canter
*cm_detach (null) - detaches the camera - cm_detach
*<span style="color:green">cm_distance - camera distance - *cm_distance = 200*</span>
*<span style="color:green">cm_height - camera height - *cm_height = 50*</span>
*cm_interpolate cam_name:string num_frames:int - initiates a camera interpolation - cm_interpolate GrifCam01 180
*cm_interpolate_block anim_name:string num_frames:int - initiates a camera interpolation - cm_interpolate_block OutroCam05 180
*cm_jello mode:int {0 | 1} - toggles camera Jello(tm) mode - cm_jello 1 ''if cm_jello 0, the walls aren't transparent any longer''
*<span style="color:green">cm_jello_amt - sets the transparency of walls - *cm_jello_amt = 50*</span>
*<span style="color:green">cm_jello_radius - !no description!</span>
*<span style="color:green">cm_lookspring_percent - at what percent of lookspring fight mode turns off</span>
*cm_orbit speed:float [stopangle:float] - puts the camera in orbit mode - cm_orbit .1
*cm_orbit_block speed:float [stopangle:float] - puts the camera in orbit mode - *cm_orbit_block 2 180*
*<span style="color:green">cm_plane_test - jello camera plane test</span>
*cm_reset [maxspeed:float] [maxFocalAccel:float] - resets the camera - cm_reset
*cm_wait (null) - makes the camera wait until it is no longer busy - cm_wait


===chr_===
===chr_===
Line 170: Line 149:


===cinematic_===
===cinematic_===
===cm_===
*cm_anim cam_spec:string{"move" | "look" | "both"} anim_name:string - initiates a camera animation - cm_anim both OutroCam03
*cm_anim_block cam_spec:string{"move" | "look" | "both"} anim_name:string - initiates a camera animation - *cm_anim_block both OutroCam04
*cm_barabus [ai_name:string | script_id:int] away:float up:float time:int - special camera for barabus
*<span style="color:green">cm_canter_unarmed - camera canter - *cm_canter_unarmed = 30*</span>
*<span style="color:green">cm_canter_weapon - camera canter
*cm_detach (null) - detaches the camera - cm_detach
*<span style="color:green">cm_distance - camera distance - *cm_distance = 200*</span>
*<span style="color:green">cm_height - camera height - *cm_height = 50*</span>
*cm_interpolate cam_name:string num_frames:int - initiates a camera interpolation - cm_interpolate GrifCam01 180
*cm_interpolate_block anim_name:string num_frames:int - initiates a camera interpolation - cm_interpolate_block OutroCam05 180
*cm_jello mode:int {0 | 1} - toggles camera Jello(tm) mode - cm_jello 1 ''if cm_jello 0, the walls aren't transparent any longer''
*<span style="color:green">cm_jello_amt - sets the transparency of walls - *cm_jello_amt = 50*</span>
*<span style="color:green">cm_jello_radius - !no description!</span>
*<span style="color:green">cm_lookspring_percent - at what percent of lookspring fight mode turns off</span>
*cm_orbit speed:float [stopangle:float] - puts the camera in orbit mode - cm_orbit .1
*cm_orbit_block speed:float [stopangle:float] - puts the camera in orbit mode - *cm_orbit_block 2 180*
*<span style="color:green">cm_plane_test - jello camera plane test</span>
*cm_reset [maxspeed:float] [maxFocalAccel:float] - resets the camera - cm_reset
*cm_wait (null) - makes the camera wait until it is no longer busy - cm_wait


===console_===
===console_===


===door_===
===door_===
830

edits