shifty wrote:
exec global/ai.scr
//*** Putting these in seems to make him act realistic, hiding for grenades & stuff. Add some patnodes around him to enhance this effect.
Nooo! 
That script is used for enemy spawners
I suppose you've got a documents code somewhere? For example with a trigger and a setthread? Then set a variable when this objective is done, for example level.obj_docs = 1.
Also set a variable when $targetguy is killed. E.g. level.obj_officer = 1.
Make sure to remove the reference to 'targetguy_was_killed' thread, or the allies will win whenever they've killed the officer.
Then, remove the call to the axis_win_timer thread and the thread itself, because it doesn't do anything at all. Below that, paste the following win code or something alike:
Code: Select all
while(level.obj_docs != 1)
wait 0.5
while(level.obj_officer != 1)
wait 0.5
teamwin allies
Maybe that helps.