Thank you, Alpaca!
I think I've found a proper event:
Code:
Identifier: UpdateAttitude
Event: A faction to faction attitude update has occurred (once every round)
Exports: faction, target_faction
Class: ET_UPDATE_ATTITUDE
Author: ScottL
But I still don't know how to use the "FactionStanding" condition. Actually I don't know the grammar of this condition.
Code:
Identifier: FactionStanding
Trigger requirements: faction, target_faction
Parameters: logic token, quantity
Sample use: FactionStanding > 0.0
Description: what is the standing (relationship) of a faction towards the target faction
Battle or Strat: Either
Class: FACTION_STANDING
Implemented: Yes
Author: ScottL
Can I write it like this? When you use france, and your relationship is good with England, then send a diplomat to england and negotiate for several rounds, then the relationship_amiable will be triggered. Do you suggest any other better event than UpdateAttitude to use?
Code:
set_event_counter relationship_amiable 0
monitor_event UpdateAttitude FactionType england
and TargetFactionType france
and FactionStanding > 0.0
set_event_counter relationship_amiable 1
end_monitor
Thanks again, Alpaca. You are so warm hearted!
Bookmarks