Spawning party and having them rush city/castle

Users who are viewing this thread

spiritwind

Squire
How would I go about getting a triggered map spawn that makes a party spawn and rush a certain castle or town and attack it? 
was looking through the runaway serfs quests and others like it but could find no pointers.  Any pointers from the 1337 here would be awesome =p.
Thanks a ton for the sharing of your knowledge!
~Spiritwind~
 
I don't know what conditions you want, but the spawn-and-attack procedure looks like this:

Code:
(set_spawn_radius, "distance"),
(spawn_around_party,"party_name_to_spawn_around", "party_template_name_to_spawn"),#spawned party id is stored in reg0
(call_script, "script_party_set_ai_state", reg0, spai_besieging_center, "targeted_party_name"),#you can also try spai_raiding_around_center and spai_engaging_army...
 
Back
Top Bottom