OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: rancor_man67 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.
-
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.
-
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
-
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..
-
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 ;)