Home   Help Search Login Register  

Author Topic: Units exiting stationary vehicles  (Read 673 times)

0 Members and 1 Guest are viewing this topic.

Dweebfire

  • Guest
Units exiting stationary vehicles
« on: 05 Dec 2002, 00:02:38 »
Scenario:   Player approaches stationery truck, when he gets within a few meters, an enemy squad exits the rear of truck and all hell breaks loose.  

I'm having problems with the enemy exiting the vehicle when the trigger is activated.  I've used this command in the trigger..

cmd="EJECT"; "_x action [cmd,decoy]" foreach units vc1;

"vc1" is the name of my group leader and "decoy" is the name of the vehicle.  

Whenever the trigger is activated, the enemy units immediately exit the truck, but then jump right back in again.

Anyone have any ideas?

And one more related  question.  When I have the squad enter the truck, the leader always sits up front.  Anyway to get him the back with the grunts?

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Units exiting stationary vehicles
« Reply #1 on: 05 Dec 2002, 00:18:32 »
Quote
Whenever the trigger is activated, the enemy units immediately exit the truck, but then jump right back in again.

Anyone have any ideas?

add

Code: [Select]
"unassignvehicle _X" foreach units vc1
in da triger onactivision

bout da sec 1 - u can put oder ppl in dere from da start or try givin oder units da assign command b4 u give him (just dont use WPs)

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta