Easiest way to turn off persistent event via other event

  • Crusader Kings II Expansion Subscription

    Subscribe to the CK II Expansion and enjoy unlimited access to 13 major expansions and more!


  • Paradox Midsummer Sale has arrived! Up to 75% off!

    Enjoy some sun and song this Midsummer, but when the sun goes down, the fun doesn't have to stop! Paradox has a festive sale on plenty of games to keep your summer nights going!


    June 18th - June 30th
  • Crusader Kings III Available Now!

    The realm rejoices as Paradox Interactive announces the launch of Crusader Kings III, the latest entry in the publisher’s grand strategy role-playing game franchise. Advisors may now jockey for positions of influence and adversaries should save their schemes for another day, because on this day Crusader Kings III can be purchased on Steam, the Paradox Store, and other major online retailers.


    Real Strategy Requires Cunning

luk3Z

Rebel
1 Badges
May 15, 2007
400
12
  • For The Glory
I have problem with my pesistent pesky event 1081.
It have to be turned off by event & need to be persistent (depended on user action if click A: need this event or B: don't need it).
And this event need a certain date... date = { day = 1 month = january year = 21 }
I can't turn it off by command i.e. (it's not working):

Code:
    action = {
        name = "No, we don't need them."
        command = { type = sleepevent which = 1081 }

Any ideas ?

What about flags:
Code:
flag = flag name
Checks if the country flag with the specified name is set.

Set flag to avoiding event from starting up ?

Edit.
It looks like it's working with flags (I was inspired by "And G" and his "ai_sliders").
These flags working like a labels. Does anyone else used them in an event ?
 
Last edited: