effect_play_on_human(navpoint_name, human_name[, human_tag[, looping[, sync_flags]]])

Parameters:
navpoint_name (string) name of the VFX object's navpoint (the effect will not spawn here, but we still need to go through the mision effect pipelien)
human_name (string) name of the human
human_tag (string, optional) name of the human tag to attach to effect to
looping (boolean, optional) set to true to loop the effect indefinitely (defaults to false)
sync_flags (integer, optional) synchronization type (MULTI_SYNC_LOCAL = affects local player, MULTI_SYNC_REMOTE = affects remote player, or MULTI_SYNC_ALL = affects both players; defaults to MULTI_SYNC_ALL)
 
Returns:
(integer) handle of the effect, or -1 if unable to start the effect

Description:
Play an effect attached to a human
 

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