OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: vrbanec on 29 Jan 2005, 20:16:40
-
Simple as that, how to make ai not to fire at some object? not even to target it, even if it's an enemy to him?
-
If you set the waypoint for this unit to 'Never Fire' in the waypoint box then he wont shoot at anything.
GI-YO
-
Yes, but then he won't fire at anything. For example, i don't wan't a tank to shoot at me, but I want him to shoot at everybody else, and behave normally.
is there something as opossite of dofire or dotarget command?
-
You could try setting yourself to Captive? Using the command:
Player SetCaptive True
I think that would stop the enemy firing at you?
-
setcaptive command is a good idea, but it doesn't work on objects. Ok, here's what I'm trying to do.
I know that i can't put solider to shoot behind some objects. for e.g. Wood fence. But i have in support an object called sandbag wall east. AI shoots behind that and it looks just like Wood fence.
The problem is that because of some reason west (and resistance) tanks shoot at this sandbag and I don't want them to shoot at it. I don't know why do they shoot at it?
a sollution might be to change the side of that sandbag to civilian? i don't even know how can an empty object have a side?