ACE3/addons/sitting/functions/fnc_handleInterrupt.sqf
jonpas 742626ff1a
General - Relative script_component.hpp includes (#9378)
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-12 20:58:10 +02:00

23 lines
392 B
Plaintext

#include "..\script_component.hpp"
/*
* Author: Jonpas
* Handles interruptions of sitting, like killed or unconsciousness.
*
* Arguments:
* 0: Player <OBJECT>
*
* Return Value:
* None
*
* Example:
* player call ace_sitting_fnc_handleInterrupt
*
* Public: No
*/
params ["_player"];
if (!isNil {_player getVariable QGVAR(sittingStatus)}) then {
_player call FUNC(stand);
};