There is no form_hero_party script but there is script_hire_men_to_kingdom_hero_party, and it does this:JuJu70 said:That code looks messy.. you put a second parameter - do you supply it when calling the script? There's an "else_try" hanging freely where it shouldn't be.
Thanks for the code I will try it
I put my special part before native random recruitment that's why there was (else_try) (it wasn't hanging).
A question - reinforce_party script is being called from form_hero_party script for ":troop_no". So that ":troop_no" is not "remembered" (that what i was trying to store)?
Question 2 - is there a better compiler?
(call_script, "script_cf_reinforce_party", ":party_no"),
Maybe you added a second argument here, but nobody could guess what you did unless you tell them.
I suggest you forget about it for now and try that code. Then learn about the module system, here: http://forums.taleworlds.com/index.php/topic,56798.0.html
Better compiler here: http://forums.taleworlds.com/index.php/topic,226612.0.html