OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Knut Erik on 01 Apr 2003, 20:01:57

Title: Stop targiting that POW!
Post by: Knut Erik on 01 Apr 2003, 20:01:57
How do you make the AI stop targeting a unit.
Instead of doing what i tell them to do they gather round the POW...

How can i prevent this. (the Pow is setcaptive true)
Title: Re:Stop targiting that POW!
Post by: Agent Fire on 01 Apr 2003, 23:10:41
Why don't you use the Resistance command to make him Resistance, and then say Resistance is friendly to everybody?
Title: Re:Stop targiting that POW!
Post by: Chris Death on 02 Apr 2003, 01:41:18
wohow the mysterious Resistance command  ;D

And could you explain this Resistance command to me please,
as i haven't heard of that yet:


:edit - ah yeah Knut:

you could probably let them watch to elsewhere by using
the doWatch command.

~S~ CD
Title: Re:Stop targiting that POW!
Post by: Knut Erik on 02 Apr 2003, 12:19:28
They igniores the Pow when they are at "safe" mode, but as soon as they get on to Aware, they all gathers around him.. They do in even if I have a wp for them. They trip the wp and then comes storming back..

What is that Resistance command Btw?
It seemes as it could help me out...  :P
Title: Re:Stop targiting that POW!
Post by: macguba on 02 Apr 2003, 12:26:05
It's because they have nothing else interesting to look at.

Try setbehaviour "combat", I know they will lie down and all, but it might look better ......

Or give some of them seek&destroy - cycle waypoints.

And we're all dying to know what this "Resistance" command is.
Title: Re:Stop targiting that POW!
Post by: Stalker on 02 Apr 2003, 13:23:47
this setresistance true
Title: Re:Stop targiting that POW!
Post by: Knut Erik on 02 Apr 2003, 13:26:45
Ahaa... Nice!

Thanks a lot. I'll try it when I get home...
 ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D
 ;) ;) ;) ;) ;) ;) ;) ;) ;) ;) ;) ;) ;) ;)
 ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D
 ;) ;) ;) ;) ;) ;) ;) ;) ;) ;) ;) ;) ;) ;)
Title: Re:Stop targiting that POW!
Post by: Gielovic on 02 Apr 2003, 13:29:01
Can you also set a unit from USA to Soviet without being reconized by the USA?
Or this, YOu're soviet infiltrator, in USA clothes. They don't reconize (im dutch so i don't know the word) you untill you're shooting or untill you grab a gun?
Title: Re:Stop targiting that POW!
Post by: macguba on 02 Apr 2003, 15:20:05
Is it still April 1 in certain time zones?  ;D     Or is this supposed to be a real command?    

Edit:  Well you got me  ;D
Title: Re:Stop targiting that POW!
Post by: Knut Erik on 02 Apr 2003, 19:27:01
I figured it out. I just had to hack the Mission.sqm file a bit  ;D

Topic solved and locked!