Berserker Pride
Grandmaster Knight
OK basically I want to have one faction start out equal strength to everyone else and then later get 40 more lords after day 90 or after a quest whatever. So I created 40 more lords then added a simple trigger to create them on such and such day. The problem is the existing script that begins the game creates all the lords of a faction right at the beginning. So all 60 lords start owning the map right away. Somewhere in here
I need to put a try_for_range that only adds lords 1-20 of faction 3 at the beginning of the game and then the simple trigger adds the rest later. Any help would be awesome you guys have been great so far. I hope I'm not posting too much.
("create_kingdom_hero_party",
[
(store_script_param, ":troop_no", 1),
(store_script_param, ":center_no", 2),
(store_troop_faction, ":troop_faction_no", ":troop_no"),
(assign, "$pout_party", -1),
(set_spawn_radius,0),
(spawn_around_party,":center_no", "pt_kingdom_hero_party"),
(assign, "$pout_party", reg0),
(party_set_faction, "$pout_party", ":troop_faction_no"),
(party_set_slot, "$pout_party", slot_party_type, spt_kingdom_hero_party),
(call_script, "script_party_set_ai_state", "$pout_party", spai_undefined, -1),
(troop_set_slot, ":troop_no", slot_troop_leaded_party, "$pout_party"),
(party_add_leader, "$pout_party", ":troop_no"),
(str_store_troop_name, s5, ":troop_no"),
(party_set_name, "$pout_party", "str_s5_s_party"),
(party_set_slot, "$pout_party", slot_party_commander_party, -1), #we need this because 0 is player's party!
[
(store_script_param, ":troop_no", 1),
(store_script_param, ":center_no", 2),
(store_troop_faction, ":troop_faction_no", ":troop_no"),
(assign, "$pout_party", -1),
(set_spawn_radius,0),
(spawn_around_party,":center_no", "pt_kingdom_hero_party"),
(assign, "$pout_party", reg0),
(party_set_faction, "$pout_party", ":troop_faction_no"),
(party_set_slot, "$pout_party", slot_party_type, spt_kingdom_hero_party),
(call_script, "script_party_set_ai_state", "$pout_party", spai_undefined, -1),
(troop_set_slot, ":troop_no", slot_troop_leaded_party, "$pout_party"),
(party_add_leader, "$pout_party", ":troop_no"),
(str_store_troop_name, s5, ":troop_no"),
(party_set_name, "$pout_party", "str_s5_s_party"),
(party_set_slot, "$pout_party", slot_party_commander_party, -1), #we need this because 0 is player's party!