i had made a kalmar union script for 2 factions (byzantium, kantakouzenos).... and then in another comletely different script i had this excerpt:
but when i tested it as byzantium, 2 "_player" events poped up... why is that?? does the engine recognise both the united factions as local??Code:monitor_event BuildingCompleted SettlementBuildingFinished = blahh if I_LocalFaction byzantium historic_event scripted_religion_patriarchate_romans_in_exile_establish_player end_if if I_LocalFaction kantakouzenos historic_event scripted_religion_patriarchate_romans_in_exile_establish_player end_if if I_IsFactionAIControlled byzantium and I_NumberOfSettlements byzantium > 0 historic_event scripted_religion_patriarchate_romans_in_exile_establish_AI end_if if I_IsFactionAIControlled kantakouzenos and I_NumberOfSettlements kantakouzenos > 0 historic_event scripted_religion_patriarchate_romans_in_exile_establish_AI end_if end_monitor
and also when i didn't have the "I_NumberOfSettlements" condition in the second events, the game had a CTD... was that because when the faction is dead, there is an issue there??





Reply With Quote







