action_play_non_blocking(name, anim_name[, morph_name[, force_play[, stand_still[, zero_movement[, navpoint[, dest_nav]]]]]])

Parameters:
name (string) name of character
anim_name (string) name of animation to play (valid action names can be found in anim_actions.xtbl, in data/tables)
morph_name (string, optional) name of morph to use (defaults to the animation name)
force_play (boolean, optional) if true, forces the animation to play on the character, even if dead (defaults to false)
stand_still (boolean, optional) if true, the character is reset to a standing state before the animation is played (defaults to false)
zero_movement (boolean, optional) if ture, the charaters movement speed it set to zero (defaults to false)
navpoint (string, optional) slide into navpoint if provided
dest_nav (string, optional) slide into destination navpoint if provided
 
Returns:
none

Description:
Make a human play an animation without blocking.

NB: This function will still block until the animation actually starts playing.

 

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