Home   Help Search Login Register  

Author Topic: How do I link a command to exiting a vehicle?  (Read 419 times)

0 Members and 1 Guest are viewing this topic.

Mephistopheles

  • Guest
How do I link a command to exiting a vehicle?
« on: 17 Oct 2004, 03:41:02 »
Hi everyone!

I have a group of WEST troops in an EAST vehicle entering an EAST base. The WEST troops are setCaptive true, but I would like to know how I can setCaptive false as they disembark. I have been led to believe that the setCaptive method is the easiest way to change sides, but I think it's fair to say that my problem is changing side again only when they have exited the vehicle. Thank you in advance for any help.

Kindest regards,

Mephistopheles

Dubieman

  • Guest
Re:How do I link a command to exiting a vehicle?
« Reply #1 on: 17 Oct 2004, 04:28:38 »
Well you know that

setcaptive true = enemy not shot at
setcaptive false = enemy is shot at

then when the truck reaches its get out waypoint, put in the activation field of the waypoint:

grunt1 setcaptive false; grunt2 setcaptive false;etc

something like that I'm thinking.