I have an event wich can be accepted\declined.
I want this event,if accepted, to increase the faction standings between England and Moors to a value of 0.1 if they are =< 0 and not at war, to add 0.5 to their relations if they are > 0.
The problems are two:
How can I test the numeric value of their relations?
How can I add a fix value to thier relations?
can you help me?
Here is some piece of code:
Code:monitor_conditions [conditions] if not DiplomaticStanceFromFaction venice moors = AtWar historic_event skull true factions { venice, } add_events event counter skull_accepted event counter skull_declined end_add_events end_if terminate_monitor end_monitor ;---------------accepts skull monitor_conditions I_EventCounter skull_accepted = 1 historic_event skull_accepted false factions { venice, moors, } set_faction_standing moors venice 0.1 set_faction_standing venice moors 0.1 ->here the problem! if the faction_standings are greater, they become lower - and I want to avoid it. terminate_monitor end_monitor ;-----------rejects skull monitor_conditions I_EventCounter declined = 1 historic_event skull_declined false factions { venice, } terminate_monitor end_monitor




Reply With Quote






