OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: armymanbronson on 30 Aug 2002, 15:24:39

Title: Team Mate Disembark
Post 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 :)
Title: Re:Team Mate Disembark
Post by: icarus_uk on 30 Aug 2002, 15:31:12
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.
Title: Re:Team Mate Disembark
Post by: armymanbronson on 30 Aug 2002, 15:41:07
yeah thanks man, thats what i thought. i have a scripts for that. will have to use it. thanks
brons :D
Title: Re:Team Mate Disembark
Post by: SimonRussi on 30 Aug 2002, 18:02:18
OFP is a combat simulation, and the leaders in real combat have to give orders, if you just want to shoot get yourself Quake :)
Title: Re:Team Mate Disembark
Post by: T.S.C.Plage on 30 Aug 2002, 18:05:02
Use the unassign and ... action ["eject",choppername] commands to make a unit (in your group or not) jump out the helicopter.
Title: Re:Team Mate Disembark
Post by: Tomb on 31 Aug 2002, 04:18:41
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: