Warcraft III resources & community, 2003–2006 · archived

Trigger Request:

4 posts
#1

Trigger Request:

I don't know why a topic was removed but here it is again.

I need a trigger that removes 12 out of 50 mana from a barracks after training a unit.
-----

The barracks total mana is 50/500. So, I need the mana to drop from after training a unit to 38.
#2
In fact, I need the trigger above and this one...

A Barracks begins training a unit, mana = 0. Barracks would stop training the unit.

(Note to all, your given credit for your help. Thanks)
#3
Unit mana is a real variable, so you must use real comparison or use Conversion - Convert Real to Integer to use it in integer comparison.
#4
Thank you for your input, but this is no longer needed to be answerd. I have both working now.