debris_flow_start(emitter_pos, min_radius, max_radius, clean_up_dist, parent_obj)

Parameters:
emitter_pos (string) name of the navpoint to use as the emitter location and ejection direction
min_radius (float) the minimum radius around the spawn position that objects will be created
max_radius (float) the maximum radius around the spawn position that objects will be created
clean_up_dist (float) distance from the spawn position where objects will be recycled
parent_obj (string) [optional] name of the parent object to attach to debris flow emitter to
 
Returns:
(integer) Handle to the debris flow that was created (-1 on error)

Description:
Start a new debris flow
 

back to indexSR3 Script Action Documentation
Last updated: Thu, 07 Apr 2011 21:49:11