• 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.
Well, the event is

#Serbian Independence#
event = {
id = 3399
trigger = {
owned = {
province = 355
data = -1
}
NOT = {
exists = SER
}
}
random = no
country = TUR
name = "EVENTNAME3399"
desc = "EVENTHIST3399"
style = 5

date = { day = 1 month = january year = 1800 }
offset = 5000

action_a ={ # Accept their freedom
name = "ACTIONNAME3399A"
command = { type = independence which = MAM }
command = { type = domestic which = CENTRALIZATION value = -1 }
}
action_b ={ # Crush the rebels
name = "ACTIONNAME3399B"
command = { type = revolt which = 355 }
command = { type = revolt which = 355 }
command = { type = revolt which = 363 }
command = { type = revolt which = 364 }
command = { type = stability value = -2 }
}
}

Look at action_a, and note who is given independence, and the fact that MAM is not SER. :D Also, the revolts in action_b occur in Serbia, Serbia, Kosovo, and Bosnia (as you would expect).

driftwood
 
Originally posted by driftwood
Well, the event is



Look at action_a, and note who is given independence, and the fact that MAM is not SER. :D Also, the revolts in action_b occur in Serbia, Serbia, Kosovo, and Bosnia (as you would expect).

driftwood
Nono, i understand this, i was asking about those things you said in your two first posts...
 
Maur,

Let's say you want to replace the whole events file for Poland, but want to leave the old file still there. If you try to block the events by putting # in front of each line, somehow blocking 3 events in a row causes the game to crash (it doesn't even start), so either rename the file to smth else, and create a new events file, or if you choose to block them, re-arrange the evnts inside the file, so you have no more than 2 events blocked in a row.

Hope that this helps.

Crook
 
As for me, you may or may not remember a couple of weeks ago when I was complaining that any event file longer than 628 lines (or so) would crash during loading. So then I split it into two files, and it worked. Then I (later) recombined them, but played around with the order (and maybe corrected bugs - I honestly can't remember) and got them to work. This also happened on a smaller scale, where I would always get an error for the exact same line, regardless of taking the offending event out of the file or leaving it in (with cut and paste). Then I changed the order, and things worked fine.

driftwood