Mana Icon

djb4cc1o94

TH.net Regular
Reaction score
5
Wondering if its possible to make a mana icon with the value of the mana and the max value :D

ex: 621/672

Icould replace it to the Food icon/bar but how could i do that with triggers?:confused:
If it's even possible :D

I created something like this but im 100% sure this is not going to work and its wrong :) just for let you know what i want to do

Mana bar
Events
Time - Every 0.08 seconds of game time
Conditions
Actions
Player - Set Player 1 (Red) Food used to (Integer((Mana of (Picked unit))))
Player - Set Player 1 (Red) Food max to (Integer((Max mana of (Picked unit))))
 
Reaction score
7
(Picked unit) is only valid in a 'Pick every unit in unit group' loop. But the rest of it should work fine. I don't know what will happen if you have anything else dependent on food though.
 

inevit4ble

Well-Known Member
Reaction score
38
I hope you not planning on doing that for all the players.

Make a "Player Group Loop" to pick all Players
Unit Group loop to pick all units owned by picked player
then set picked players food by picked units mana.

:D
 
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