trigger_asw_chance

From Source Entities
Jump to navigation Jump to search

Code classes:

Trigger.png

trigger_asw_chance is a brush entity present in Asw.pngAlien Swarm. It's a trigger volume that can be triggered multiple times and has a random chance of firing the OnTrigger output each time.

Keyvalues[edit | edit source]

Delay Before Reset (wait) <float>
How long to wait between tries at firing OnTrigger.
Trigger Chance (TriggerChance) <float>
Chance that OnTrigger will fire every interval set by Delay Before Reset. Decimal percent, so for 45% put 0.45.

Outputs[edit | edit source]

OnTrigger
Fires at intervals when an object is inside the trigger volume.

See Also[edit | edit source]