Last updated by: cold_blood3d on 30 Jan 2010 22:47
This unique entity allows mappers to set up random events, monster spawns, etc. If you look at the entity you will see a number of new variables and boxes. Most of them are relatively self-explanatory.
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 5 (target1 - target5) - 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.
- Even though trigger_random is limited to 5 possible targets, you can use these to trigger other trigger_randoms and create a branching effect. This allows for a nearly unlimited number or possibilities.
|Search the SC Forums for trigger_random|