ACE3/addons/parachute/functions/fnc_cutParachute.sqf

20 lines
385 B
Plaintext
Raw Normal View History

#include "script_component.hpp"
2015-05-19 11:45:28 +00:00
/*
* Author: joko, Jonas, SilentSpike
* Perform the cut parachute action (move unit out and delete)
*
* Arguments:
* 0: Object <OBJECT>
*
* Return Value:
* None
*
* Example:
* [player, vehicle player] call FUNC(cutParachute);
*
* Public: No
*/
params ["_unit", "_parachute"];
_unit action ["GetOut", _parachute];
deleteVehicle _parachute;