bumyplum 10 Posted March 3, 2019 How would i stop my player from being able to heal damaged players around me from the scroll menu /or atleast detect when a player is healing another player Share this post Link to post Share on other sites
dyrmoon 22 Posted March 4, 2019 8 hours ago, bumyplum said: How would i stop my player from being able to heal damaged players around me from the scroll menu /or atleast detect when a player is healing another player You can use eventhandler HandleHeal for detect who healing: https://community.bistudio.com/wiki/Arma_3:_Event_Handlers#HandleHeal Share this post Link to post Share on other sites
bumyplum 10 Posted March 4, 2019 11 hours ago, dyrmoon said: You can use eventhandler HandleHeal for detect who healing: https://community.bistudio.com/wiki/Arma_3:_Event_Handlers#HandleHeal 3 3 Are you able to show me an example which works, i'm unable to get it to work For example player addEventHandler ["HandleHeal", { params ["_unit", "_healer", "_isMedic"]; _healer setdamage 1; }]; // Doesn't work Share this post Link to post Share on other sites
dyrmoon 22 Posted March 4, 2019 7 hours ago, bumyplum said: Are you able to show me an example which works, i'm unable to get it to work For example player addEventHandler ["HandleHeal", { params ["_unit", "_healer", "_isMedic"]; _healer setdamage 1; }]; // Doesn't work What do you want the unit to die for? You must place this eventhandler in the Init to all units that can will be injured. So not only player. this addEventHandler ["HandleHeal", { params ["_unit", "_healer", "_isMedic"]; Hint str _this;// for info who is who }]; Share this post Link to post Share on other sites
bumyplum 10 Posted March 6, 2019 On 3/4/2019 at 8:52 PM, dyrmoon said: What do you want the unit to die for? You must place this eventhandler in the Init to all units that can will be injured. So not only player. this addEventHandler ["HandleHeal", { params ["_unit", "_healer", "_isMedic"]; Hint str _this;// for info who is who }]; It was just a place holder to test if it would work Share this post Link to post Share on other sites