trigger_random_unique

trigger_random_unique

page tags: point / edit tags

Last updated by: cold_blood3dcold_blood3d on 30 Jan 2010 22:47

Description

Similar to trigger_random, except that it has 8 possible targets and will not re-fire targets it has already fired.

Attributes

Name (targetname) - The name that identifies the entity.

Target Count (target_count) - The number of target boxes (listed below) that you wish to used. If, for example, you want a 50% chance of Target1 being triggered, and a 50% chance of Target2 being triggered, you would set this to 2. The 3rd, 4th, and 5th boxes would then be unused. To use more of the boxes, with an equal chance of each being triggered, increase the Target Count value.

Target 1 - Target 8 (target1 - target8) - This is where you enter the names of the entities you want targeted, one to a box. Note that only one of the listed entities will be triggered when the trigger_random is activated. Some used boxes can be left blank (to create a possibility of nothing being triggered), if you so wish. Extra, unused boxes should be left blank.

Flags

Re-usable (1) - This allows the entity to be triggered more than once.

Additional info

N/A

See also

trigger_random
trigger_random_time

searchscf.png Search the SC Forums for trigger_random_unique
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License