Haiku Event on flag status change?

picta

Active Member
Is there a way in haiku to detect a status change of a flag? I have a bunch of flags that I set to different values, but the only transitions I get from onUnitLevelChange is when the value changes from zero to any non-zero and vice-verse.
 
We've just added this for the next update, thanks for the suggestion!

HaikuHelper 2.90

...
- API: added onUnitStateChange() event
...
 
Back
Top