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
) »
How to make AI shoot at empty vehicles?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: How to make AI shoot at empty vehicles? (Read 459 times)
0 Members and 2 Guests are viewing this topic.
Sambucucciu
Guest
How to make AI shoot at empty vehicles?
«
on:
31 Oct 2003, 02:28:13 »
Imagine a mission in which tanks or planes must be destroyed, sabotaged, bombed, while they're gently parked in their base...
How can I make allied or enemy AI units target *empty* vehicles?
Thanks...
Logged
m21man
Guest
Re:How to make AI shoot at empty vehicles?
«
Reply #1 on:
31 Oct 2003, 02:44:33 »
Code:
[Select]
guy dotarget target
~2
guy dofire target
So the unit
guy
will target unit
target
, and 2 seconds later he will fire on it.
«
Last Edit: 31 Oct 2003, 02:45:35 by m21man
»
Logged
sabreblade
Guest
Re:How to make AI shoot at empty vehicles?
«
Reply #2 on:
31 Oct 2003, 20:30:47 »
i don't know teh code for this off the top of my head but i know you can tell a man to drop a "timebomb" (satchel charge) make it go to 30seconds then let him run away.
you could get him to run away then touch off the bombs if you want but i'll have to look it up. my second message lol. it tells you in the command tutorials you can download here in OFPEC if you need the answer thouroughly(spelt right?)
SB
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
) »
How to make AI shoot at empty vehicles?
Top of page