2015-05-19 11:45:28 +00:00
|
|
|
/*
|
2015-05-19 16:17:10 +00:00
|
|
|
* Author: joko // Jonas
|
|
|
|
* Reset the parachute system.
|
|
|
|
*
|
|
|
|
* 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
|
|
|
* Boolean <BOOL>
|
2015-05-19 16:17:10 +00:00
|
|
|
*
|
|
|
|
* Example:
|
|
|
|
* [player] call FUNC(checkCutParachute);
|
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
2015-05-21 06:06:59 +00:00
|
|
|
#include "script_component.hpp"
|
2016-09-04 14:44:22 +00:00
|
|
|
params ["_unit"];
|
2017-06-08 13:31:51 +00:00
|
|
|
(vehicle _unit isKindOf 'ParachuteBase' && !(_unit getVariable [QGVAR(chuteIsCut),false]) && (_unit getVariable [QGVAR(hasReserve),false]))
|