Has anyone seen an issue with players not being able to repair script-generated vehicles? I've built a scenario for SP/MP play, and if I place vehicles in the editor players can repair them, but if I create them in the init scripts players don't get the repair (or scavenge) options. (I want to build them with scripts to generate different vehicles if the scenario is being played with RHS or CUP mods.)
vehicle placed in editor = repair works SP/MP
vehicle created in init.sqf = repair works in SP, not in MP
vehicle created in initServer.sqf = repair doesn't work in SP or MP
I *think* the problem is that the scripted vehicles aren't getting the addAction for repair and scavenge when modules are initialized; init.sqf gets called before modules are initialized in SP but afterwards in MP, and initServer.sqf runs afterwards in both SP and MP. (This is my first multiplayer mission and I'm learning a ton, so it's quite possible I'm screwing up something completely different.)
Does it seem like I'm on the right track, and if so does anyone know how I could call addAction for the repair and scavenge options in a script? (Or does anyone have a different approach?)