mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed event statement arguments, reworded comment
This commit is contained in:
parent
cb210f92a0
commit
815b7984aa
@ -7,6 +7,5 @@ if !(hasInterface) exitWith {};
|
||||
["isNotSitting", {!((_this select 0) getVariable [QGVAR(isSitting), false])}] call EFUNC(common,addCanInteractWithCondition);
|
||||
|
||||
// Handle interruptions
|
||||
["medical_onUnconscious", {_player call DFUNC(handleInterrupt)}] call EFUNC(common,addEventhandler);
|
||||
["SetHandcuffed", {_player call DFUNC(handleInterrupt)}] call EFUNC(common,addEventhandler);
|
||||
["SetSurrendered", {_player call DFUNC(handleInterrupt)}] call EFUNC(common,addEventhandler);
|
||||
["medical_onUnconscious", {_this call DFUNC(handleInterrupt)}] call EFUNC(common,addEventhandler);
|
||||
["SetHandcuffed", {_this call DFUNC(handleInterrupt)}] call EFUNC(common,addEventhandler);
|
||||
|
@ -3,7 +3,7 @@
|
||||
* Handles interruptions of sitting, like killed or unconsciousness.
|
||||
*
|
||||
* Arguments:
|
||||
* Player <OBJECT>
|
||||
* 0: Player <OBJECT>
|
||||
*
|
||||
* Return Value:
|
||||
* None
|
||||
|
@ -38,7 +38,7 @@ _sitRotation = if (isNumber (_configFile >> QGVAR(sitRotation))) then {getNumber
|
||||
|
||||
// Set direction and position
|
||||
_player setDir _sitDirection;
|
||||
// Can NOT use ASL/ATL as modelToWorld returns absolute world position
|
||||
// No need for ATL/ASL as modelToWorld returns in format position
|
||||
_player setPos (_seat modelToWorld _sitPosition);
|
||||
|
||||
// Set variables
|
||||
|
Loading…
Reference in New Issue
Block a user