Cryptdik 5 Posted January 2, 2021 Hey guys, I'm having some trouble with a certain script. I"m using an event handler to apply a SimpleShops script to units spawned by Zeus, and while this works great in single player/Online hosted games, it does not work in a server. I tried some stuff already but decided I had to ask around to figure this out. The way it's currently working, I have this code placed in the GAME MASTER module for Zeus (like I said, this is working except in a server setting): this addEventHandler ['CuratorObjectPlaced',{ { [_x] remoteExec ["HG_fnc_aiUnitSetup", 2]; [_x] execVM "randomItem.sqf"; } forEach crew (_this select 1); }]; I tried some things like changing addEventHandler to addMPEventHandler but it still doesn't work. I feel like the solution should be simple but I can't figure it out so far. Share this post Link to post Share on other sites
j0nes 194 Posted January 16, 2021 May try https://community.bistudio.com/wiki/BIS_fnc_addStackedEventHandler tends to handle things better on DS Share this post Link to post Share on other sites