Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
make ai not fire object
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: make ai not fire object (Read 804 times)
0 Members and 1 Guest are viewing this topic.
vrbanec
Guest
make ai not fire object
«
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?
Logged
GI-YO
Guest
Re:make ai not fire object
«
Reply #1 on:
29 Jan 2005, 20:22:48 »
If you set the waypoint for this unit to 'Never Fire' in the waypoint box then he wont shoot at anything.
GI-YO
Logged
vrbanec
Guest
Re:make ai not fire object
«
Reply #2 on:
29 Jan 2005, 20:31:35 »
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?
Logged
Unnamed
Guest
Re:make ai not fire object
«
Reply #3 on:
29 Jan 2005, 22:36:49 »
You could try setting yourself to Captive? Using the command:
Code:
[Select]
Player SetCaptive True
I think that would stop the enemy firing at you?
Logged
vrbanec
Guest
Re:make ai not fire object
«
Reply #4 on:
30 Jan 2005, 15:21:54 »
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?
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
make ai not fire object
Top of page