Jump to content

BSL:Functions: Difference between revisions

Line 69: Line 69:
*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


===chr_===
===cm_===
*neutral
*cm_anim cam_spec:string{"move" | "look" | "both"} anim_name:string - initiates a camera animation - cm_anim both OutroCam03
*freeze
*cm_anim_block cam_spec:string{"move" | "look" | "both"} anim_name:string - initiates a camera animation - *cm_anim_block both OutroCam04
*unkillable
*cm_barabus [ai_name:string | script_id:int] away:float up:float time:int - special camera for barabus
*invincible
<span color:"green">*cm_canter_unarmed - camera canter - *cm_canter_unarmed = 30*
*unstoppable
*cm_canter_weapon - camera canter</span>
*focus
*cm_detach (null) - detaches the camera - cm_detach
*super
<span color:"green">*cm_distance - camera distance - *cm_distance = 200*
*nocollision
*cm_height - camera height - *cm_height = 50*</span>
*giveweapon
*cm_interpolate cam_name:string num_frames:int - initiates a camera interpolation - cm_interpolate GrifCam01 180
*givepowerup
*cm_interpolate_block anim_name:string num_frames:int - initiates a camera interpolation - cm_interpolate_block OutroCam05 180
*teleport
<span color:"green">*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''
*location
*cm_jello_amt - sets the transparency of walls - *cm_jello_amt = 50*
*location_settocamera
*cm_jello_radius - !no description!
etc...
*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 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
830

edits