DLib/functions/PlaneJump/fn_pj_openRamp.sqf

18 lines
388 B
Plaintext
Raw Normal View History

2020-01-15 18:18:38 +00:00
/*
Author: Djeeberjr
Description:
Opens 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",1];
_plane animate ["ramp_top",1];