vehicle_anim_start(veh_name, state_name, action_name[, speed_multiplier])

Parameters:
veh_name (string) name of the vehicle
state_name (string) name of the animation state (can be NULL)
action_name (string) name of the animation action (can be NULL)
speed_multiplier (optional, float) multiplier to apply to a vehicle action (has no effect if playing a state)
 
Returns:
none

Description:
Start playing a vehicle animation

If the state is present, this will play the state. If the action is present, it will play the action. If both are present, it will play the action and move to the state. If neither are present, we assert!

 

back to indexSR3 Script Action Documentation
Last updated: Tue, 09 Aug 2011 11:32:16