-
Notifications
You must be signed in to change notification settings - Fork 739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix zeus unit and group interactions locality #5214
Conversation
- The `setUnitPos` and `setBehaviour` commands require local arguments - I'm assuming the `setFormation` and `setSpeedMode` commands do too, but unconfirmed - Unsure about the waypoint commands too, will have to investigate
So I went ahead and tested the locality of all the commands not marked on the biki. Some interesting results, apparently the waypoint commands need to be executed on the server, rather than where the group is local. Will update code and biki with this information. |
addons/interaction/XEH_postInit.sqf
Outdated
@@ -79,3 +78,33 @@ GVAR(isOpeningDoor) = false; | |||
|
|||
["isNotSwimming", {!underwater (_this select 0)}] call EFUNC(common,addCanInteractWithCondition); | |||
["isNotOnLadder", {getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> animationState (_this select 0) >> "ACE_isLadder") != 1}] call EFUNC(common,addCanInteractWithCondition); | |||
|
|||
// Zeus action events |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These EH are below line 31 - if (!hasInterface) exitWith {};
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch 👍
setUnitPos
,setFormation
,setSpeedMode
andsetBehaviour
commands require local arguments