18 lines
388 B
Plaintext
18 lines
388 B
Plaintext
/*
|
|
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];
|