is there a way of writing an event that simulates EU3, ie after 30 years you gain a core on a provience and if you don't own it for 30 years you loss the core?
Not with current engine...If anyone could do that, it would be Yoda.
owned = { day = <day> month = <month> year = <year> }
owned_since = { province = <id> which = <tag or -1> value = <number_of_days> }
It doesn't exist in EU2 1.09. This is only an idea for an extended script engine.Wonderful idea Yoda, however, owned_since doesn't exist does it? Really? Or am I just a little behind everyone else?
Thanks for confirmation.of course that is the ideal
There is indeed no other solution with current engine.@yoda - no the set dates maybe wouldn't be fair, but it was the best compramise i could think of - at least given my limited knowledge of events
This is possible, by making, for example, one event per province per country per X number of years, checking if that country owns that province every X years and if yes then setting up a flag, and making other events for giving them the cores 50 years after the checking ones. The problem is that for actually making this one would need to not only script massive amounts of events, but also put a large strain on performance.
True. I meant no other reasonable solution.
I forgot to propose a new kind of events (province spec in this case) that can repeat just like random events. Still an event for each involved province but...
Not for someone who knows a scripting language. Possibly my event generator could help (although it was always a little quirky).your right though that is an awful lot of work
True. I meant no other reasonable solution.
I forgot to propose a new kind of events (province spec in this case) that can repeat just like random events. Still an event for each involved province but...
Not for someone who knows a scripting language. Possibly my event generator could help (although it was always a little quirky).
Not for someone who knows a scripting language. Possibly my event generator could help (although it was always a little quirky).
Heh, glad somebody found a use for it. I ended up just writing custom scripts whenever MattyG wanted something replicated, because I couldn't figure out how to use my own program very well.this is a great tool! And it should work for making Vicky events too (after the country tags are set to Vicky ones), so it should help me with a periodic militancy idea I had... Thanks for making this
![]()
Heh, glad somebody found a use for it. I ended up just writing custom scripts whenever MattyG wanted something replicated, because I couldn't figure out how to use my own program very well.![]()
I'm not sure I understand the question, but any support really belongs in the event generator thread anyway.Is it possible for me to set the first tag (originally MIN) to only be able to set once, like the other tags are?