Construct 3 use random for spawn
This occurs when you call VisualEffect.Play. At this stage, the Context is waiting for Start flow input to trigger. The initial state of a spawn Context is VFXSpawnerLoopState.Finished. The lifecycle of the looping phases is split up into states that the Spawn Context handles internally. This property only appears if you enable Delay After Random.Ĭonnection from an Event, a GPU Event, or another Spawn Context.Ĭonnection to an Initialize Context or another Spawn Context.įor a visualization of the looping and delay system, see the below illustration. The duration of the delay after the spawn loop. This property only appears if you enable Delay Before Random. The duration of the delay before the spawn loop. This property only appears if you set Loop Count to Constant or Random. This property only appears if you set Loop Duration to Constant or Random.ĭefines how many loops the Context processes before going back to the initial state. This setting is only visible if you set Delay Mode to After Loop or Before And After Loop.
(Inspector) Toggles whether the delay after the spawn loop is a random value between a minimum and a maximum value or a constant value. This setting is only visible if you set Delay Mode to Before Loop or Before And After Loop. (Inspector) Toggles whether the delay before the spawn loop is a random value between a minimum and a maximum value or a constant value. Before And After Loop: Processes a delay before and after the spawn loop.After Loop: Processes a delay after the spawn loop.Before Loop: Processes a delay before the spawn loop.(Inspector) Specifies where in the loop this Context processes a delay. Random: Loops a random number of times between a minimum and maximum value.Constant: Loops a specific number of times.During each loop, this Context triggers particle spawns. (Inspector) Specifies how many times this Context loops for. What it does after this pause depends on the Loop Count and Delay Mode. After this time, if Delay Mode is set to After Loop or Before And After Loop, this Context pauses particle spawning. Random: Produces particles for a random duration between a minimum and maximum value.Constant: Produces particles for a specific duration that you can specify.Infinite: Produces particles continuously.(Inspector) Specifies how long this Context produces particles. You can specify the number of loops it processes, the duration of each loop, and whether or not to have a delay before or after each loop. This Context spawns particles within spawn loops. You can also implement VFXSpawnerCallbacks to create a custom behavior. This Context handles a set of built-in blocks to control the spawn rate. The Spawn Context controls how many instances the system feeds into an Initialize Context.