Jump to content
Sign in to follow this  
TAW_Yonose

Floodlight please help

Recommended Posts

Can't create topic, don't know why, so found the empty one, do anyone know how to handle unit's dammage with getting the damage's information and do not damage the unit? ("handledamage" missing some damages, and together with "allowdamage" do not providing right information).

Share this post


Link to post
Share on other sites

What do you mean missing?

Example:

_this addeventhandler ["handledamage",{_this select 0 setdamage 0;}]; ,

if server are enough busy - 50. cal. shot in head killing the unit (if using MCC each 1 kill shot making the unit unconscious).

Share this post


Link to post
Share on other sites

Example:

_this addeventhandler ["handledamage",{_this select 0 setdamage 0;}]; ,

if server are enough busy - 50. cal. shot in head killing the unit (if using MCC each 1 kill shot making the unit unconscious).

 

You are setting damage to 0 BEFORE the damage of the EH is processed, so yes, you heal the unit, then the headshot damage is processed.

 

_this addeventhandler ["handledamage",{0}];

 

God mode.

Share this post


Link to post
Share on other sites

You are setting damage to 0 BEFORE the damage of the EH is processed, so yes, you heal the unit, then the headshot damage is processed.

 

_this addeventhandler ["handledamage",{0}];

 

God mode.

The unit do not dying, thanks, but still going unconscious, anyone know how to avoid the MCC's "unconscious"?

Share this post


Link to post
Share on other sites

Post in MCC's

Already, just maybe someone who will se here know.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×