• 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.

Battlecry

Field Marshal
16 Badges
Feb 22, 2007
2.530
4
  • Arsenal of Democracy
  • Crusader Kings II
  • Europa Universalis III
  • Europa Universalis IV
  • For the Motherland
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis: Rome
  • Semper Fi
  • Rome: Vae Victis
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: Pre-order
  • Hearts of Iron IV Sign-up
set a triggered modifier to no longer apply after a certain date?
If so, what would that trigger look like?

For instance, the Parthian spawn event has year = 504 as a trigger (among others), and I would only like the triggered modifier to apply until around 600.
 
battlecry said:
set a triggered modifier to no longer apply after a certain date?
If so, what would that trigger look like?

For instance, the Parthian spawn event has year = 504 as a trigger (among others), and I would only like the triggered modifier to apply until around 600.
i might be wrong, but this should be then something like:

year = 504
NOT = { year = 600}
 
jorian said:
i might be wrong, but this should be then something like:

Now will this apply if the player starts after 600? i.e. does the NOT clause, in reference to a year, stop it from firing at any later date than the one specified, or does it just stop it when that date rolls around?
 
battlecry said:
Now will this apply if the player starts after 600? i.e. does the NOT clause, in reference to a year, stop it from firing at any later date than the one specified, or does it just stop it when that date rolls around?
i am not good in event modding just that you know, but something like that was the case with EU3

what i wrote in this case should make the event trigger between 505 and before 600



if an event gives some modifier too, then i am not sure if that is removed aswell
 
Its not actually an event, its a triggered modifier (i.e. triggered_modifiers.txt) but it think the trigger works the same. I'll go test your idea Jorian.
 
battlecry said:
Its not actually an event, its a triggered modifier (i.e. triggered_modifiers.txt) but it think the trigger works the same. I'll go test your idea Jorian.

I think modifiers are permanent unless there is a timelimit defined for them, or they are removed by an event.
 
TheLand said:
I think modifiers are permanent unless there is a timelimit defined for them, or they are removed by an event.
Exactly, thats why I specified a time limit. So for that Parthian-boost triggered modifier I PMed you, it now only works until 600, so that they don't go and overrun everyone. I'm also considering adding the ai_controlled trigger, so that the relatively stupid AI will get the boost, while a player will have to make do.

And by the way Jorian it DOES work!

Thanks for your help, I'm indebted to you.
 
battlecry said:
Exactly, thats why I specified a time limit. So for that Parthian-boost triggered modifier I PMed you, it now only works until 600, so that they don't go and overrun everyone. I'm also considering adding the ai_controlled trigger, so that the relatively stupid AI will get the boost, while a player will have to make do.

And by the way Jorian it DOES work!
glad it worked out :)

battlecry said:
Thanks for your help, I'm indebted to you.
then just let me incoporate parts of your mod into mine later :p

(dunno about your mod actually, i am too occupied with the graphic part, so i didn't really look into the other mods much, long way till i can edit scripts and events, but iwill look at all of them when come to that part of my own mod)
 
jorian said:
then just let me incoporate parts of your mod into mine later :p

Go nuts. As the new installer license agreement says:

Freeware - destroy it, turn it into a document editor, use it in your plans for world domination. I really don't care what you do with it (as long as your plans for world domination don't interfere with mine). It all yours, have fun.