OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: armymanbronson on 30 Aug 2002, 15:24:39
-
hey guys i guess this as been asked before but im doing a mission where it's me and my team mate getting transport unloaded by a black hawk. now i have tried everything to get this guy to get out when i do, i have tried [teammate] allowgetin false, i have tried unassignvehicle teammate ect ect. its there like some sort of script or something that can help?. cheers.
bronson :)
-
The commands only seem to work on the leader, he then has to order the troops out. Now that you are the leader, you would be expected to order the troop out of the chopper.
If you want it automatic anyway, then you would need to use an ejection script.
-
yeah thanks man, thats what i thought. i have a scripts for that. will have to use it. thanks
brons :D
-
OFP is a combat simulation, and the leaders in real combat have to give orders, if you just want to shoot get yourself Quake :)
-
Use the unassign and ... action ["eject",choppername] commands to make a unit (in your group or not) jump out the helicopter.
-
yeees, and a tiny trigger could do the job :thumbsup:
Axis a & b = 0/0
Activation = none
Condition field:
Getpos Choppa1 select 2 < 5
On Activation field:
Bob action ["Eject", Choppa1]; UnassignVehicle Bob :joystick:
---------------------------
Alternative Condition:
!you in Choppa1 && Getpos Choppa1 select 2 < 5
So Bob would get kicked out when YOU got out :o
...and bob is ready to do some serious shootin' :gunman: