debris_flow_set_active(flow_handle, emitter_pos, min_radius, max_radius, clean_up_dist[, parent_obj[, speed_multiplier[, set_obj_velocity]]])

Parameters:
flow_handle (int) handle of the debris flow to activate
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
speed_multiplier (float, optional) multiplier to be applied to object velocities (defaults to 1.0f)
set_obj_velocity (boolean, optional) TRUE if the object velocities should be set, FALSE otherwise (defaults to TRUE)
 
Returns:
none

Description:
Set a debris flow instance active

cleanup_behind_emitter (boolean, optional) TRUE if objects should be recycled if the end up behind the emitter position (defaults to FALSE)

 

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