Home   Help Search Login Register  

Author Topic: brief attack  (Read 722 times)

0 Members and 1 Guest are viewing this topic.

bootneckofficer

  • Guest
brief attack
« on: 01 Jun 2006, 18:02:28 »
heya all,

how do i get a group of terrorists (a1 - a5) to shoot a couple of shots towards a truck (t1) by some good guys (i dont want the good guys to get injured), then the bad guys run away? any thoughts?

bootneckofficer

Offline Gogs

  • Contributing Member
  • **
  • WWIIEC - Gracefully retired boss
Re: brief attack
« Reply #1 on: 01 Jun 2006, 18:59:04 »
Well, getting the terrorists to target the truck can be done with

unitname DoTarget truckname

Then you can get them to fire with

unitname DoFire truckname

Then running off can be achieved with

unitname move getpos nameofanobjectintherightrirection

or

unitname move getmarkerpos "nameofamarkerintherightrirection"

Getting them not to hit the guys in between is all about careful positioning. Make sure they are setcaptive true to stop the AI executing them too...