i'm willing to make a simple script for a byzantine conversion.... the section i want help is the one that contains all the conditions:
i want the Faction Leader(with a trait) and the Patriarch(with an anc and a trait) to go to Rome, so that the player can be asked wether he likes the union or not.... the reasonable way is to use the "I_CharacterTypeNearTile byzantium <character type>, 0 310, 141" condition... BUT, check out below....
the monitor works in the end of the "character turn"....and for our faction, it checks:Code:monitor_event CharacterTurnEnd CharacterIsLocal and I_LocalFaction byzantium and Trait Priest_Level >= 5 and HasAncType Patriarch_Roman and I_CharacterTypeNearTile byzantium priest, 10 310, 141 ;historic event... ;.....things.... end_monitor
CharacterIsLocal - true for every character
I_LocalFaction - true for every character
Trait - true only for the Patriarch
HasAncType - true only for the Patriarch
I_CharacterTypeNearTile -...
the faction will always have a patriarch, so by his "CharacterTurnEnd" these 2 conditions will be true...plus those other two in the beginning.... we have 4/5 conditions true...
the problem occurs if another priest... a simple one (and not the Patriarch)... is near Rome... then, in the Patriarch's "CharacterTurnEnd", the last condition will be true also.... (since it doesn't refer to any specific character... but to a anyone who is near that tile...) THUS MAKING THE EVENT TO FIRE....ALBEIT WRONGLY...
so, i need some suggestions how can i solve this, or bypass it....





Reply With Quote





