Jump to content
Sign in to follow this  
csj

hitpoints data

Recommended Posts

I have set up hitpoints on a plane and when the aircraft is hit I can get the

then amount of damage applied to a particular hitpoint at that moment

but

How can I get the collective damaged value of that particular hitpoint?

I have played around with getDammage but I either get the total damage

of the aircraft or an error saying object required.

Share this post


Link to post
Share on other sites

Selection damage returned by handledamage EH is the new overall damage of the selection. There is no scripting command to get a selection damage equal to getdamage/damage. What you can do (assuming you're using handledamage EH) is to setvariable the new selection damage on each triggering, and then retrieve the value when needed with getvariable.

Share this post


Link to post
Share on other sites

thanks, I shall do that.

I just thought since the game was doing that process anyway that there was a command to retrieve it from there.

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  

×