FriZY_SK 9 Posted February 8, 2018 Hello, do you know how to cancel incapacitated state on player ( included animation, action and visual effects ) and heal him? I am using BIS revive feature in MP mission. setUnconscious command is not very useful. THX! Share this post Link to post Share on other sites
pierremgi 4911 Posted February 8, 2018 It seems to me, in MP, you need to apply this function locally, depending on where you are calling it. If you experience some difficulty, you can make it work with: [[ "#rev", 1, _unit ], BIS_fnc_reviveOnState] remoteExec ["call",_unit]; // where _unit is the player. Worked for me. Share this post Link to post Share on other sites
Larrow 2823 Posted February 8, 2018 1 hour ago, pierremgi said: It seems to me, in MP, you need to apply this function locally, depending on where you are calling it. Of course, all relevant revive information is held locally for each client. That is why the original quoted code uses player, the local unit. [ "#rev", 1, _unit ] remoteExecCall ["BIS_fnc_reviveOnState",_unit]; Why remote execute a command to run a function, when you can just run the function? Share this post Link to post Share on other sites
pierremgi 4911 Posted February 8, 2018 58 minutes ago, Larrow said: Of course, all relevant revive information is held locally for each client. That is why the original quoted code uses player, the local unit. [ "#rev", 1, _unit ] remoteExecCall ["BIS_fnc_reviveOnState",_unit]; Why remote execute a command to run a function, when you can just run the function? Sure player is local. I was focused on my experience, healing Ais and players from a handledamage EH. I had to do that if I remember. Never mind, disregard... Share this post Link to post Share on other sites
FriZY_SK 9 Posted February 11, 2018 @Larrow, pierremgi I am starting this function localy and it works as I hope. Thank you guys Share this post Link to post Share on other sites