mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fix setFWS locality issues, fix #892
This commit is contained in:
parent
1218ee78cb
commit
8e54e6ec13
@ -24,7 +24,7 @@ class Extended_InitPost_EventHandlers {
|
|||||||
init = QUOTE(if (local (_this select 0)) then {_this call FUNC(setName)};);
|
init = QUOTE(if (local (_this select 0)) then {_this call FUNC(setName)};);
|
||||||
};
|
};
|
||||||
class GVAR(forceWalk) {
|
class GVAR(forceWalk) {
|
||||||
init = QUOTE(if (local (_this select 0)) then {_this call FUNC(applyForceWalkStatus);};);
|
init = QUOTE(_this call FUNC(applyForceWalkStatus));
|
||||||
};
|
};
|
||||||
class GVAR(muteUnit) {
|
class GVAR(muteUnit) {
|
||||||
init = QUOTE(_this call FUNC(muteUnitHandleInitPost));
|
init = QUOTE(_this call FUNC(muteUnitHandleInitPost));
|
||||||
|
@ -37,3 +37,4 @@ if (isPlayer _unit) then {
|
|||||||
};
|
};
|
||||||
}foreach ([_unit] call FUNC(getAllDefinedSetVariables));
|
}foreach ([_unit] call FUNC(getAllDefinedSetVariables));
|
||||||
|
|
||||||
|
_unit setVariable ["ACE_forceWalkStatusNumber", 0, true];
|
||||||
|
@ -50,4 +50,4 @@ _bitmaskNumber = _forceWalkReasonsBooleans call FUNC(toBitmask);
|
|||||||
_unit setVariable ["ACE_forceWalkStatusNumber", _bitmaskNumber, true];
|
_unit setVariable ["ACE_forceWalkStatusNumber", _bitmaskNumber, true];
|
||||||
|
|
||||||
// actually apply the forceWalk command globaly
|
// actually apply the forceWalk command globaly
|
||||||
[[_unit], QUOTE(FUNC(applyForceWalkStatus)), _unit] call FUNC(execRemoteFnc);
|
[[_unit], QUOTE(FUNC(applyForceWalkStatus)), 2] call FUNC(execRemoteFnc);
|
||||||
|
Loading…
Reference in New Issue
Block a user