entityguide‎ > ‎

trigger_random_time

This entity is obsolete. You may prefer to use trigger_random over this. Trigger which will wait a random amount of time, then fire one of it's targets randomly, and then repeat that process while activated.

Keyvalues


"Target Count", target_count :
Amount of random targets you have specified. E.g., specify 'Target 1' and 'Target 2' and set this to '2'. The other three target fields will be ignored!

"
Target #", target# :
Specify up to 16 targets of which one will be picked randomly whenever trigger_random_time's countdown is over.

"
Minimum delay", min_delay :
Minimum delay, in seconds, till a random target will be fired. Set it to 0 to disable minimum value.

"
Maximum delay", max_delay :
Maximum delay, in seconds, till a random target will be fired. Set it to 0 to disable maximum value.


Flags


1: "Start on": The trigger_random_time starts active.

2: "Trigger once": If set, trigger_random_time will fire only one of its targets once whenever triggered.


Notes

  • If "Trigger once" is set, and entity has been triggered, then triggered again before delay to trigger the target ends, the entity won't fire the target- it will stop timer instead. That also mean entity is not multithreaded.


Changes

  • 5.02 Update: Updated 'Target #' keyvalue so it can now have up to 16 targets specified. Entity becomes obsolete.


Comments