Hiring Manhunters Script (Needs Help!)

Users who are viewing this thread

Specialist

Master Knight
Okay, I need to know if this will work, for a simple Manhunter enlistment system....

Code:
 [party_tpl|pt_manhunters|plyr,"manhunter_talk_b", [], "I was wondering if you have any soldiers that I could enlist.", "manhunter_talk_b3",
  [[change_screen_buy_mercenaries]]],
  [party_tpl|pt_manhunters,"manhunter_talk_b3", [], "Those lads are great fighters, treat 'em well! Farewell", "close_window",[(assign, "$g_leave_encounter",1)]],


First, I need to know if this will let you Hire the Manhunters as troops. Then....
---> Where the change_screen_buy_mercenaries is, I need a condition script. Something that makes it so that you can only hire 1 less than the number of manhunters. AKA: if there are 28 manhunters, you can only hire 27 (Maximum).
Any codes you can help me with? I'll release the finished production once I get it perfected....
 
First of all, you need to call set_mercenary_party before change_screen_buy_mercenaries.
You can do what you want easily with party_remove_member beforehand and party_add_member after manhunter_talk_b3.
 
Back
Top Bottom