Things are looking good and I see a bunch of you trying new things. A few points:
Whenever you are trying a new event, always check and see what it exports. If the exported parameters do not match the trigger requirements of the condition, it will not fire. This is probably the hardest part for people to grasp. I will use the example posted by Hesus to explain.
He used the FactionNewCapital event to trigger his monitor and tried to use the TargetSettlementIsLocal condition. If you look in the docudemons it says this:
Code:
Identifier: FactionNewCapital
Event: A Faction has changed its capital
Exports: faction
Class:ET_FACTION_NEW_CAPITAL
Code:
Identifier: TargetSettlementIsLocal
Trigger requirements: settlement
Parameters: None
Sample use: TargetSettlementIsLocal
Description: Does the target settlement belong to the local faction?
Battle or Strat: Either
Class: TARGET_SETTLEMENT_IS_LOCAL
Here you can see that he is checking an event that exports faction with a condition that requires settlement. This script will never run because the export and the requirement do not match. A better choice would be FactionIsLocal.
We havent talked about the Target conditions yet, but a brief explanation is in order. A Target is the recipient of the action that the current event fires true for. For example if we checked the FactionWarDeclared event by using something like this to start our monitor we would detect when a non player controlled faction declares war:
Code:
monitor_event FactionWarDeclared not FactionIsLocal
The event exports faction, target_faction, and target_religion. Faction is the faction that declared war, target_faction/religion is the name of the faction they declared war on.