First, this is NOT my script. Its a script from HAWKs C130 (HWK_c130.pbo).
I love that addon and the paradrop is great BUT there is a problem in MP.
Everything works fine except that the client-players dont get a parachute. The localserver-player are in a chute on all machines and all the AIs got their chutes.
It looks like there is no chute moved (or created) for the client-player.
I think the problem is something with the
_chute setpos (getpos (_allcrew select _c)) -> because I cant see a chute near the client-player
(_allcrew select _c) setpos (getpos _chute) -> because the client-player arent moved to [0,0,10]
(_allcrew select _c) moveindriver _chute -> becaúse the client-player arent moved away (into the chute createvehicled at [0,010])
Has anyone an idea of how to fix this script?
_helo = _this select 0
_allcrew = crew _helo
? (count crew _helo)<=2:exit
(group _helo) setspeedmode "limited"
_helo vehiclechat "Approaching Drop Zone, Jumpers hook the lines, check your gear, get ready to jump"
[_helo] exec "\HWK_c130\script\openramp.sqs"
_helo animate["jumpprepare",1]
_helo animate["r1",1]
_helo animate["r2",1]
_helo animate["r3",1]
~3.1
@ ((_helo animationPhase "rampa" > 0.5) and (_helo animationPhase "jump" == 1))
_helo animate["r1",0]
_helo animate["r2",0]
_helo animate["r3",0]
_helo animate["g1",1]
_helo animate["g2",1]
_helo animate["g3",1]
_helo vehiclechat "Green Light, Green Light, GO, GO, GO"
_helo say "eng20"
_array = []
"if (_x != driver _helo && _x != gunner _helo) then {_array = _array + [_x]}" foreach _allcrew
_allcrew = _array
? count _allcrew == 0 : goto "done"
_c = 0
#eject
_helo vehiclechat format ["%1, GO",_allcrew select _c]
unassignvehicle (_allcrew select _c)
(_allcrew select _c) action ["getout",_helo]
~0.1
_chute = "ParachuteWest" createvehicle [0,0,10]
_chute setpos (getpos (_allcrew select _c))
(_allcrew select _c) setvelocity (velocity _chute)
(_allcrew select _c) setpos (getpos _chute)
(_allcrew select _c) moveindriver _chute
~0.5
_c = _c + 1
? _c != count _allcrew : goto "eject"
~10
_helo animate["g1",0]
_helo animate["g2",0]
_helo animate["g3",0]
_helo animate ["jump",0]
_helo animate ["jumpprepare",0]
[_helo] exec "\HWK_c130\script\closeramp.sqs"
exit