Can you give me a litle tutorial about making a new spawn point and having the parties attached to it roaming the map ? I don't clearly understand how it works? What governs their apparition on the map ?
I made some parties, then change the parties templantes and edit the triggers and, always with the unofiial editor, made new spawn points and changed their location on the map. I saved, begin a new game and still I don't see the new parties. Where are they ?
Help me please 
Luigi
I'll try help you here Luigi, I've experimenting with it the past few days to get my mod working correctly.
Here goes...
It seems you know how to do spawn points, I usually copy a pre-made one in the parties section and add it, then give it a custom position on the map with the x/y co-ords. Nothing new yet. Then I make the party templates... now for the triggers.
Trigger 1If you're making troops there's a peak variable you have to make, meaning only so many troops can be spawned and exist on the map. Give it a certain number...
"VAR (peak_new_party_name) = 6"Trigger 2Conditions1. You'll then need a register to store the number currently on the map.
"REG[2] = store_num_parties_of_template(PARTY_TPL[pt_new_party_name])2. Now the thing that decides if there's too many parties spawned.
if(NOT REG[2] >= VAR[peak_new_party_name])Consequences1. I assume this number is randomly generated to decide when the parties spawn.
REG[5] = store_random(1)2. I assume this just declares the spawn point.
REG[5] += PARTY[p_new_party_spawn_point]3. Spawn radius.. self explanitory.
set_spawn_radius(1)4. This is the code that spawns it.
reg[0] = spawn_around_party(REG[5],PARTY_TPL[pt_new_party_name])5. This just increases the unit count.
VAR[num_new_party_name] +=1If you're making a party spawn for a new faction you've made, you'll need this function instead of spawn_around_party
call_script (spawn_party_at_faction_town_if_below_limit)Along with the :
VAR[pin_faction] = FACTION(fac_yourfaction)
VAR[pin_party_template] = PARTY_TPL(pt_new_party_name)
VAR[pin_limit] = VAR[peak_new_party_name]Above it.
Even if you don't need it anymore, somebody will need it one day.
