• 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(69957)

Private
Feb 25, 2007
17
0
Hi
I've tried to make a random event that allows provinces to change to stateculture randomly. Is there anyway I can force-trigger it to see if it works? I know about the eventcheat code but it only works for the huge events in my version.

And is it possible that someone can see from what I've made if its should work?

# Province changes culture
event = {

id = 94666 # Paradox 17000
random = yes
trigger = { stability = 3 }
name = "Culture Change"
desc = "After learned their new owners way of livingthe people changes to the masters culture"

action_a = {
name = "People changes to state culture"
command = { type = culture which = -1 value = -1 }
}
}
 
Illegal command. Check Havard's event editing bible.

This is the proper command:
command = { type = provinceculture which = x value = culture_name }

Changes the province culture in province x (-1 is a random province, -2 is the capital.) For valid names, look in db\province.csv (culture_name = -1 means the state culture.) For a list of valid culture names see Appendix B.