Trigger random

Материал из CSM Wiki
Перейти к навигации Перейти к поиску
Это незавершённая статья. Вы можете помочь проекту, исправив и дополнив её.


Описание

Этот уникальный объект позволяет создавать случайные события, рождать монстров и т. д. Если Вы посмотрите в свойства этой энтити, то увидите несколько новых параметров и переменных.Большинство из них являются относительными.

Использование

Target Count: This is 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.

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.

Note: You can string trigger_randoms together to allow for as many random possibilities or as small a possibility of something happening as you want. Just have one trigger_random target other trigger_randoms, which, in turn, target various events, or such, creating a branching effect.