Re: Help with SAR mission
Hi chrisb, welcome to the .org.
First of all, you don't need to write 'and if' simply 'and' will do (then you only need one end_if).
Have you declared the counter anywhere using declare_counter?
EDIT: sorry just noticed that you have declared it....
EDIT2: It's been a while since I did anything like this, but I don't think you need the if statements at all. Try this:
Code:
declare_counter captive
set_counter captive 0
monitor_event PostBattle FactionIsLocal
and I_LocalFaction sarmatians
and I_PercentageUnitKilled importantdude_bodyguard > 10
and I_CompareCounter captive = 0
advance_advice_thread PromptThreadCaptive 1
set_counter captive 1
console_command add_money 20000
end_monitor
Re: Help with SAR mission
Thanks Myrddraal! There has been more discussion on the same topic here, plz let's continue there: http://www.twcenter.net/forums/showthread.php?t=446038
Still many problems to be solved ;-)
Re: Help with SAR mission
And finally a solution available for testing here!