-
May 22, 2020, 07:28 PM
#1
Trigger ancillary CTD
Hello
I try to give a house ancillary from fathers to sons for generals and just after pressing the end turn i have a ctd
When i delet my triggerring lines in the export_descr_ancillary i have no ctd.
Here are the lines :
Trigger house_baratheon_a
WhenToTest CharacterTurnEnd
Condition FatherAnc house_baratheon_a
and IsGeneral
and not HasAncType household
AcquireAncillary house_baratheon_a chance 100
Trigger house_baratheon_a_b
WhenToTest CharacterComesOfAge
Condition FatherAnc house_baratheon_a
and IsGeneral
and not HasAncType household
AcquireAncillary house_baratheon_a chance 100
I don't see what is wrong with it.
EDIT :
After few search (can't recall where) it seems that the Condition "FatherAnc" doesn't works without the WhenToTest "FatherDiesNatural"
So if i want it to work, i must use hidden traits like this :
__________________
Trait BaratheonRenlyFamily
Characters family
Hidden
Level BaratheonRF
Description BaratheonRF_desc
EffectsDescription BaratheonRF_effects_desc
Threshold 1
Effect Piety 1 - I put an effect but i don't know if it is possible to make a trait without effect
______________
Trigger section
______________
Trigger BaratheonRenlyFamily_TurnEnd
WhenToTest CharacterTurnEnd
Condition IsGeneral
and FatherTrait BaratheonRenlyFamily >= 1
Affects BaratheonRenlyFamily 1 Chance 100
____________
Trigger BaratheonRenlyFamily_ComesOfAge
WhenToTest CharacterComesOfAge
Condition IsGeneral
and FatherTrait BaratheonRenlyFamily >= 1
Affects BaratheonRenlyFamily 1 Chance 100
And after in the trigger section of ancillary file :
Trigger house_baratheon_a_TurnEnd
WhenToTest CharacterTurnEnd
Condition IsGeneral
and Trait BaratheonRenlyFamily >= 1
AcquireAncillary house_baratheon_a chance 100
Trigger house_baratheon_a_ComesOfAge
WhenToTest CharacterComesOfAge
Condition IsGeneral
and Trait BaratheonRenlyFamily >= 1
AcquireAncillary house_baratheon_a chance 100
__________________
Should it work ?
Last edited by Matthias the great; May 23, 2020 at 07:40 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules