BIS_fnc_moduleEditTerrainObject is executed only on the server and it's not publishing the variable for locked doors which results in door lock not working for clients in multiplayer environment.
Description
Description
Details
Details
- Severity
- None
- Resolution
- Open
- Reproducibility
- N/A
- Operating System
- Windows 10 x64
- Category
- General
Steps To Reproduce
- Add Edit Terrain Object module to mission, lock some doors on a building
- Start mission on a server
- Join as client
- Notice unlocked doors
Additional Information
Notice module executed only on server:
// BIS_fnc_moduleEditTerrainObject /*-------------------------------------------------------------------------------------------------- Setups given terrain object. --------------------------------------------------------------------------------------------------*/ if (!isServer) exitWith {}; // ...
Notice missing variable publishing in this macro which is used to setup/lock doors:
// \a3\modules_f\Environment\EditTerrainObject\defines.inc #define SETUP_DOOR(building,id,state)\ building setVariable [format ["bis_disabled_door_%1", id + 1], [0,1,0] select state];\ building animateSource [format ["door_%1_sound_source", id + 1], [0,0,1] select state, true];\ building animateSource [format ["door_%1_noSound_source", id + 1], [0,0,1] select state, true];
Event Timeline
Comment Actions
This is still not working properly, 4 years later, would be great to see this fixed as it's affecting mission making as it currently stands and causing frustration and need of use for workarounds in places where there really shouldn't need to be ones.
Comment Actions
Same issue here, I used the module to reduce some buildings into rubble, but when testing on a dedicated server, both rubble and the unaffected building appeared. Doors are also not affected.
Comment Actions
This issue was fixed in dev branch for a while, you better download it and retest module work in mp for confirmation