I am trying to get two specific types of events in game. Both events can occur multiple times, and multiple factions have their own (unique) versions of the events.
1) a religion change script that allows factions to change religions multiple times, i.e. when a scripted crusade is called, the target switches religions to prevent it, or when a pagan faction takes the capital, switch religions to end the war, etc.
2) reinforcements for specific types of battles in specific regions, spawned by a random percent determined from an incremental counter (the higher the counter the higher the chance, up to a certain limit below 100%), i.e. England invades Scotland, Scottish reinforcements may spawn when an English army attacks Scottish army on Scottish soil, a much higher chance of spawning when Inverness is beseiged, etc. The only command I know of that can spawn troops is "SpawnArmy" but it requires x y coordinates; is there a way to find out the coordinates of a given battle, then move a spawned army to that battle (or spawn an army at that battle)? Or should I just stick with seiges?




Reply With Quote




