Simple Way to Detect Mana Regen?

imakunee

New Member
Reaction score
4
Just wondering if there is a way to detect when a unit gains mana. I thought about using, say, T32 to check the unit's mana every 1/32 of a second and compare it to the mana before the last check but I wasn't sure if that was overkill or not.
 

rongheng

New Member
Reaction score
5
Try something like every ??? of game time then save the current unit's mana value somewhere then compare it again after sometime?(just a random idea, should be wrong)
 

Weep

Godspeed to the sound of the pounding
Reaction score
400
That's the best way that I know. The alternate, of course, is to not have any way for a unit to gain mana except through triggers you've made, in which case you'll always know whenever a unit gains mana. ;)
 

imakunee

New Member
Reaction score
4
Alright, thanks guys. Was hoping I missed some system or event but guess not. Shouldn't run into any problems anyways.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top