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