Closed codexGW closed 10 years ago
There is some code that detects when the weapon is disassembled, and then it automatically re-assembles it again.
However the event handler is not firing. From testing it seems that the event handler is only firing on the machine where the createVehicle command was executed.
This seems like a limitation, or bug with the Arma 3 engine itself. In this case, I believe the createVehicle is happening server side when you buy the static weapon from the gun store ... and thus the event handler never triggers.
I've reported this issue to AgentRev on the main repo ... so that he can decide how to fix this. Though from the looks of it, it appears that there is really no fix. Even if the vehicle was created client-side ... for some reason the event handler only triggers on the machine where createVehicle happened. So ... the reassembly logic would only work for the person who bought the static weapon.
I am closing this issue for now.
I had a few static weapons saved and when I disassemble and reassemble them they will disappear from the game after about 30 seconds. They remain in the database and are reloaded after restart. Maybe with all the conflicts with battleye filters and this it would be best just to remove the disassemble action.