DLib/functions/PlaneJump/fn_pj_closeRamp.sqf

18 lines
389 B
Plaintext
Raw Normal View History

2020-01-15 18:18:38 +00:00
/*
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];