I have read the event modding article in wiki. it mentions something about setting a chance for a random event to fire, but it doesnt give an example or tell how to do it. can anyone tell me how to set a chance for a random event ?
I'd recommend just poking around in the event files to see if you can find an example.
event={
id = 24065
random = yes
invention = no
picture = fire
name= "EVT_24065_NAME"
desc= "EVT_24065_DESC"
action_a = {
name= "ACTIONNAME24065A"
command = { type = resource_perc which = coal value = -33 }
}
}
random = yes
random = %%
well yes, i tried that. and didnt get any result. maybe i should try offset 30 or something, despite the chance of slowdown.