PDA

View Full Version : How do you add your own triggers



Death Match
04-28-2007, 08:48
;------------------------------------------
Trigger reinherited
WhenToTest BecomesFactionHeir

Condition Trait Exheir = 1

Affects Factionheir 1 Chance 100

How do you create your own triggers?

Makanyane
04-28-2007, 14:04
If you can find one similar to what you want copy it and paste it somewhere else in trigger section (note the file reads from top down so if you want x percentage chance of something to happen before you get y percentage of something else you need to put first trigger above second)


;------------------------------------------
Trigger reinherited_death_match
WhenToTest BecomesFactionHeir

Condition Trait Exheir = 1

Affects Factionheir 1 Chance 50

You have to give trigger unique name but that can be anything you like, all one word or using underscores. The trigger name isn't referenced anywhere else - you don't have to add it to any other file. Sticking your own or the mods name in it can help you easily identify new triggers.

Look at other triggers to see what WhenToTest and Conditions are available, note not all work in combination with each other.

What exactly are you trying to do?