
Originally Posted by
Burning
Yea, that's a good point. We definitely will need that but with a bit of sophistication. We could kickstart using that during the Russian civil war, and and apply it to non-historical conflicts. I'll add it to the todo list.
Code:
not = { country = BEL }
works, i guess you didn't put it into the right location in the event. See the documentation for the basic structure of an event. The trigger-clause actually is called trigger = { ... } and should be located somewhere beneath the events id (reads like "id = 133xxxxxx"), so you should have an easy time spotting it :-). Just put in the very first line of the trigger, (add a new line, copy & paste "not = { country = BEL }" there ).
I still don't get it, there are so many of them.
Just an example 'ere..
Code:
action = {
name = "We have exceeded our land force limit of 10 divisions."
trigger = {
atwar = no
# not for case 1:
not = {
and = {
or = {
and = {
year = 1932
or = { ideology = fascist ideology = nazi }
}
year = 1935
}
or = {
local_flag = disarm_army_10
local_flag = disarm_army_25
local_flag = disarm_army_50
local_flag = disarm_army_75
}
# not for weimar
not = { and = {
country = U08
event = 13300200 # if it is a defeated nation
atwar = no # and not at war
not = { event = 13300213 } # has not jet started to fall to extremism
} }
}
}
local_flag = disarm_army_10
army = 19
}
ai_chance = 1
command = { trigger = { ai = yes } type = demobilize which = land when = 0 where = 0 value = 10 }
command = { trigger = { ai = no } type = dissent value = 10 }
command = { type = deactivate_unit_type which = infantry }
command = { type = deactivate_unit_type which = militia }
command = { type = deactivate_unit_type which = garrison }
command = { type = deactivate_unit_type which = bergsjaeger }
command = { type = deactivate_unit_type which = cavalry }
command = { type = deactivate_unit_type which = hq }
command = { type = local_setflag which = geared_down_army }
See, that isn't even half of the first trigger, and I saw there is a text file called Naval Treaties, is it possible that one needs to be done too? Which of the triggers do I need to do then, all of them?
Edit: Can't you just do it for me and upload it if you know perfectly where to do it? xP Haha.