ACE3/addons/sitting/XEH_clientInit.sqf

8 lines
323 B
Plaintext
Raw Normal View History

#include "script_component.hpp"
// Add interaction menu exception
["isNotSitting", {!((_this select 0) getVariable [QGVAR(isSitting), false])}] call EFUNC(common,addCanInteractWithCondition);
// Handle falling unconscious
["medical_onUnconscious", {_this call DFUNC(handleInterrupt)}] call EFUNC(common,addEventhandler);