Home   Help Search Login Register  

Author Topic: How to make AI shoot at empty vehicles?  (Read 456 times)

0 Members and 1 Guest 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...


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 »

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