View Full Version : Question about triggers
SSJVegetaTrunks
11-30-2006, 23:32
For the triggers "random_birth" that affect skills, does it randomly choose one of the triggers and then does that one, or does it trigger ALL of the random_birth triggers when your character comes to age?
If it's the second one, why do they even have multiple random_births? Are you only allowed to have a certain number of effects in one trigger?
Makanyane
12-01-2006, 00:23
Trigger random_birth1
WhenToTest CharacterComesOfAge
Affects Aesthetic 1 Chance 2
Affects Coward 2 Chance 2
Affects GoodSiegeAttacker 1 Chance 2
;------------------------------------------
Trigger random_birth2
WhenToTest CharacterComesOfAge
Affects Anger 1 Chance 2
Affects Hypochondriac 1 Chance 2
where it says random_birth1/2 etc that description is completely irrelavant, each triggers name has to be unique but you could call them Trigger SSJ1, SSJ2 etc and it would have no different effect.
What does happen is from start of trigger section each trigger with
WhenToTest CharacterComesOfAge
is checked in order down page so if character acquires trait in earlier triggers it disables / overrules incompatible traits in subsequent triggers - best example I can think of is in BI for religion.
Trigger birth_religion_follow_my_leader_2
WhenToTest CharacterComesOfAge
Condition FactionLeaderTrait Pagan >= 1
Affects Pagan 1 Chance 75
;-----------------------------------------
Trigger birth_religion_nomad_goth_1
WhenToTest CharacterComesOfAge
Condition FactionType goths
and Trait Pagan = 0
and Trait Christian = 0
and Trait Zoroastrian = 0
Affects Christian 1 Chance 50
;------------------------------------------
Trigger birth_religion_nomad_goth_2
WhenToTest CharacterComesOfAge
Condition FactionType goths
and Trait Christian = 0
and Trait Zoroastrian = 0
and Trait Pagan = 0
Affects Pagan 1 Chance 100
Affects PaganDisillusion 1 Chance 7
1st trigger works as coming of age leader having 75% chance of getting pagan trait if his faction leader has pagan trait -
next if faction is goths and come of age leader failed earlier 75% chance of getting pagan trait then he now has 50 % chance of getting christian trait. 3rd if he still didn't get either pagan or christian trait then he is 100% sure to get pagan trait + also 7% chance of getting / or not pagandisillusion, which is compatible trait.
Its not so much that there is a limit to the number of affects that can be under one trigger but that traits that are meant to be mutually exclusive have to be triggered by separate triggers.
SSJVegetaTrunks
12-01-2006, 00:42
Allright thanks, I get it.
SSJVegetaTrunks
12-04-2006, 03:02
Oh, another question: Can I use age as a trigger? I want my old people to be weaker and wise and my young people to be strong and less wise.
Sort of.
There is no way to get access to a character's age directly. However, you can create a trait to track how long a character has been in the game. You would normally assume that, except for characters who were present at the start of the game, a character enters the game at 16 years of age. This is obviously going to be incorrect in the case of many adoptees and men who marry into the family. Unfortunately, this is the best you can do.
Makanyane
12-04-2006, 17:52
To add to collection of questions, sorry I'm being slightly lazy as I could probably figure out way to test this, but does anyone know off hand if you use;
Condition FatherTrait Drink >= 1 etc
does the son still get the triggered trait if dad had trait but died before son came of age?
BozosLiveHere
12-05-2006, 03:45
I'm pretty sure he does.
vBulletin® v3.7.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.