DLib/functions/PlaneJump/fn_pj_closeRamp.sqf
2020-01-15 19:18:38 +01:00

18 lines
389 B
Plaintext

/*
Author: Djeeberjr
Description:
Closes the cargo door of the plane
Parameter(s):
0: OBJECT - the main gamelogic
*/
params ["_gl"];
_plane = _gl getVariable "DLib_pj_plane";
playSound3D ["cup\airvehicles\cup_airvehicles_ch53e\data\sfx\Heli_CH53_ramp.wss",_plane,false,AGLToASL (_plane modelToWorld [0,4,-3.8])];
_plane animate ["ramp_bottom",0];
_plane animate ["ramp_top",0];