Event that detects when a unit has reached X mana

SarChasm

New Member
Reaction score
15
Is there such an event? I've seen games where they use mana as a sort of a timer. An example being you have a "Child" unit that starts with 0 mana. Once this Child reaches 100 mana, it turns into a grown adult.

I've been looking around, but I can't seem to find a generic "Unit reaches X mana" event. Keep in mind it has to be generic, YES I am aware there is a "Unit's mana becomes Less/Greater/Equal/etc. than X" event, but that won't work.
 

Dest

New Member
Reaction score
26
Is there such an event? I've seen games where they use mana as a sort of a timer. An example being you have a "Child" unit that starts with 0 mana. Once this Child reaches 100 mana, it turns into a grown adult.

I've been looking around, but I can't seem to find a generic "Unit reaches X mana" event. Keep in mind it has to be generic, YES I am aware there is a "Unit's mana becomes Less/Greater/Equal/etc. than X" event, but that won't work.

You could do it with the level instead.
 

XxShadyxX

I abused the rep system.
Reaction score
81
Make a trigger.
Make it periodic event every 0.2 or so
for each integer A from 1-12 do actions
loop actions
If
Unit owned by player(IntegerA) mana is XXX
Then
Run Trigger2
Else


Trigger2
Do whatever you want
 
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