Well, hello there. I've came here to ask a couple of questions, hopefully you'll be able to lend a hand (bit rusty at the ol' scripting after not playing OFP for a few years)
For my latest MP mission, i've got to make it so when the player dies, they firstly respawn, and are moveincargo'ed into a plane. I can easily see how that works, something like
@!alive _thebloke
@alive _thebloke
_thebloke moveInCargo haloplane
The problem I have from there, though, is twofold:
What do I do if the planes cargo spots are full at the time? I need something like a 'que' system, and
For the HALO part, I can't work out how to make it so the player leaves the plane without 'ejecting'. I remember how to do it in the past, but its slipped my mind since then.
Also, for quick clarity, the HALO script itself would be something like (don't bother correcting me on classnames)
*the bit where they leave the plane*
~5
_parachute = "parachute" createvehicle getpos _thebloke
_thebloke moveInDriver _parachute
exit