LordRampantHump 58 Report post Posted July 10, 2017 Im almost certain this has been asked 1000 times over, im sure even by me at some stage but i swear i have google like a muddafucka and im not finding an answer. I am trying to run an effects script called from exilez the moment when a Zombie is created is where i am tapping in. _jomombie = _group createUnit [_zClass, _position, [], 0, "doStop"]; [_jomombie] join _group; if !(call _vestGroup=='') then {_jomombie addVest call _vestGroup}; if !(call _lootGroup=='' && call _vestGroup=='') then {_jomombie addItemToVest call _lootGroup}; _jomombie disableAI 'FSM'; _jomombie enableAI 'ANIM'; _jomombie disableConversation true; _jomombie addMPEventHandler ['MPKilled', {_this spawn ZMPKilled;}]; nul = [_jomombie,_avoidTerritory] spawn ZombieDeleter; I guess i just forget how to call the effects script which is in the mission from exilez which is on the sever. I dont want to give too much away because I plan to showcase it here when its working but please trust me, the code is fine, its just not getting called, at all exilez is working fine, my script is working fine, what is not working is the bridge between. I tried lots but here are just a few: //[[[_jomombie,5,3,0.01,false,true,1], "Effects\eff1.sqf"], "BIS_fnc_execVM", true] call BIS_fnc_MP; //[[[_jomombie,5,3,0.01,false,true,1], "Effects\eff1.sqf"],"BIS_fnc_execVM",true,true] spawn BIS_fnc_MP; //[[_jomombie,180,5,0,false,true,1],"Effects\eff1.sqf"] remoteExec ["execVM",2]; null = [_jomombie,5,3,0.01,false,true,1] execVM "Effects\eff1.sqf" call BIS_fnc_MP; Could someone please advise how to make this call from server to all clients. Thank you Share this post Link to post Share on other sites
LordRampantHump 58 Report post Posted July 10, 2017 no takers? Share this post Link to post Share on other sites
kuplion 1785 Report post Posted July 10, 2017 I really don't understand what you're trying to do? Are you trying to create some kind of graphical effect as a zombie spawns? EDIT: You're also using a really outdated version of ExileZ. Share this post Link to post Share on other sites
LordRampantHump 58 Report post Posted July 11, 2017 (edited) 9 hours ago, kuplion said: I really don't understand what you're trying to do? Are you trying to create some kind of graphical effect as a zombie spawns? Yes, in a nutshell I am. 9 hours ago, kuplion said: EDIT: You're also using a really outdated version of ExileZ. New or Old my result would be the same: _zombie = _tempGroup createUnit [_zClass, _position, [], 0, "NONE"]; [_zombie] joinSilent _group; deleteGroup _tempGroup; _zombie disableAI "FSM"; _zombie enableAI "ANIM"; _zombie disableConversation true; _zombie addMPEventHandler ["MPKilled", {_this call EZM_ZMPKilled;}]; running the script on the client, targeting the zombie "_zombie" Edited July 11, 2017 by LordRampantHump Share this post Link to post Share on other sites
kuplion 1785 Report post Posted July 11, 2017 Why not just run it on the server along with the spawn of the zombie? I'm not sure I see why you need to run it via a mission file? Share this post Link to post Share on other sites
LordRampantHump 58 Report post Posted July 11, 2017 because the effects are on the client, i need it to run on the clients side Share this post Link to post Share on other sites
Aggro 43 Report post Posted July 11, 2017 (edited) Not tested but try this: null = [_jomombie,5,3,0.01,false,true,1] remoteExec ["Effects\eff1.sqf",2] If it doesn't work you may need to turn off remoteExec so set mode to 2, it's been a while since I messed around with arma 3 so sorry can not add more to this atm. Edited July 11, 2017 by Aggro 1 Share this post Link to post Share on other sites
LordRampantHump 58 Report post Posted July 11, 2017 (edited) @Aggro - Thanks for this, but i couldnt get it to work either. In the end I just created a custom function which did the job. My script is early days but here is my result so far. Introducing, Fire Zombies!!! Edited July 11, 2017 by LordRampantHump 1 Share this post Link to post Share on other sites
kuplion 1785 Report post Posted July 11, 2017 Very cool. However you could have done this very easily serverside. Share this post Link to post Share on other sites
Sgt. ScrapMetal 153 Report post Posted July 11, 2017 yeah if you mean effect i have thinking you mean some other stuff but setup zombies on fire its really easy to do them serverside, and with the same result lol 1 Share this post Link to post Share on other sites