OpenClonk Bugtracker - OpenClonk
View Issue Details
0002043OpenClonkEngine - C4Scriptpublic2018-06-16 13:342018-06-16 13:34
Assigned To 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002043: Feature Request: GetEnergy(bool exact)
DescriptionCurrently there is no way to find out the exact energy value of an object. You can track it with an effect that has the damage() function, but this should not be necessary and is prone to error if an effect with a different priority changes the damage done.

This may be necessary for certain applications. Currently it is necessary for me. So, I just want to get the exact value for the energy if I call object->GetEnergy(true)
TagsNo tags attached.
Attached Files

There are no notes attached to this issue.

Issue History
2018-06-16 13:34MarkyNew Issue