
52 posts
Florida, Winter Garden.
joined
#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.

52 posts
Florida, Winter Garden.
joined
#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)

1,007 posts
Warsaw, Poland [@Northrend]
joined
#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.

52 posts
Florida, Winter Garden.
joined
#4
Thank you for your input, but this is no longer needed to be answerd. I have both working now.