Home   Help Search Login Register  

Author Topic: locking choppers  (Read 588 times)

0 Members and 1 Guest are viewing this topic.

rancor_man67

  • Guest
locking choppers
« on: 06 Nov 2002, 01:45:35 »
Is it possible to lock just the pilot and gunner positians of a chopper, so that when a squad get in, they only get into the cargo spots. Then can you unlock it? so that a pilot and gunner can get in???


Thanks,


Rancor.


Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:locking choppers
« Reply #1 on: 06 Nov 2002, 01:49:32 »
not with a lock command no, but this could work, create two gamelogics and move them into the gunner and pilot position then remove them when you want the real pilot to get in.

rancor_man67

  • Guest
Re:locking choppers
« Reply #2 on: 06 Nov 2002, 07:23:42 »
how would i do that??

with the normal: this moveinpilot blackhawlk?

Then how would i get them out??

One more thing...

What was the simple way of ejecting A.I without using a script?? I used it in one of my missions once, and it worked well. But i fogot it. I was a trigger with some special on activaion line.Something like: guy unassign veichael chopper action eject"eject"

Thanks,


Hazzer

Mike

  • Guest
Re:locking choppers
« Reply #3 on: 06 Nov 2002, 09:48:10 »
to put them in probably:

gamelogicname moveindriver choppername
gamelogicname moveingunner choppername


to remove them have u tried to deleteVehicle them?

deletevehicle gunnerlogicname
deletevehicle pilotlogicname


to eject without scripts..

UnassignVehicle playername; playername action ["eject",heliname];

for each player... only problem is they will all eject at the same time.. or one right after the other without much of a space.. Ive had ai die because the ai under them opened the chute and it hit the guy... unless u make a few consecutive triggers, one for each player with a small spacing..
« Last Edit: 06 Nov 2002, 09:49:40 by Mike »

rancor_man67

  • Guest
Re:locking choppers, Problem solved!
« Reply #4 on: 10 Nov 2002, 01:49:31 »
Thanks Guys!

I Got it working by making the pilots get in first, then the squad!

The game logic thing works as well though i think.

Thanks!  :) :) :) :)

Rancor  ;)