+- Comrades in Arms Discussion Board (http://forum.ciahome.net)
+-- Forum: Comrades in Arms Life (http://forum.ciahome.net/forumdisplay.php?fid=3)
+--- Forum: Mission Making (http://forum.ciahome.net/forumdisplay.php?fid=8)
+--- Thread: setUnconscious for ai (/showthread.php?tid=3493)
im working on a simple script which when ai get shoot , there is a chance they move to Unconscious state, however its fine with single playerand server but Unconscious animation not showing animation on server, dedicated.
here is demo mission https://www.mediafire.com/?7d8cx9oxlhhxisa
Haven't looked at the code yet, but almost all of the animation functions are G-L, meaning their argument (the unit) can be global but the effect is only local.
In essence, you need to run it on all clients, using remoteExec.
RE: setUnconscious for ai - Persioan MO - 10-23-2016
Ok, found a solution.
Share a demo mission here if somebody may need it and want to use it.