• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

unmerged(32946)

Recruit
Aug 7, 2004
4
0
when i start up the game it loads up to halfway or so on globals then pops up with this error:

error:
ck_event_script_error.jpg


the event im making that caused it:

#########################
#Dark Future
#########################
character_event = {
id = 13000

picture = "event_madness.bmp"

trigger = {
condition = { type = age value = 20 }
condition = { type = ruler_child }
condition = {
type = not
value = {
type = trait
value = forgiving
}

action_a = {#Woah!
ai_chance = 30
#start AI modifier block
modifier = {
condition = { type = trait value = evil }
factor = 2.0
}
#end AI modifier block
effect = { type = add_trait value = evil }
}


}

It's string entries:

Config\Event_Text:

EVT_13000_NAME;Dark Future;;;;;;;;;;X
ACTIONNAME13000A;Woah!;;;;;;;;;;X

Config\Trait_Names:

TRAIT_NAME_EVIL;Evil;;;;;;;;;;X
TRAIT_DESC_EVIL;The character is evil, it is a shady or dark character who is hellbent on doing evil things.;;;;;;;;;;X

Misc:

db\traits:

evil =
{
antithesis = {
forgiving = yes
generous = yes
honest = yes
just = yes
}
attributes = { health = 2 fertility = -2 diplomacy = -6 martial = 1 stewardship = -5 intrigue = 3 }
opinion = { merciful = -10 cruel = 15 }
}

thx in advance.
 
You are also missing several closing brackets, and you do not really need an AI chance and multiplier as you only have one option.