Home   Help Search Login Register  

Author Topic: Arresting a couple of bad guys...  (Read 462 times)

0 Members and 1 Guest are viewing this topic.

Ade

  • Guest
Arresting a couple of bad guys...
« on: 09 Jan 2004, 20:21:32 »
I'm trying to write a SP mission where the first objective is to arrest two senior enemies after a firefight with their bodyguards.  The player units are on the resistance side and the opposition is East.  I know how to make the targets surrender (setCaptive and then get them to drop weapons) but what I really want to do is to add an action when the player gets within a couple of metres of each target which will make that individual join the player's group and mark down an objective as complete.

I've been mucking around variously with addAction, removeAction, triggers etc but I have a girlfriend and so I don't get as much time as I need with OFP, please help....  ;)

Ade

gundernak

  • Guest
Re:Arresting a couple of bad guys...
« Reply #1 on: 09 Jan 2004, 20:46:04 »

Ade

  • Guest
Re:Arresting a couple of bad guys...
« Reply #2 on: 09 Jan 2004, 21:14:03 »
That looks like it will do the job nicely ... thanks!

Ade