Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
detecting the mana of a unit without using a perodic time event?
detecting the mana of a unit without using a perodic time event?
01-11-2003, 12:48 PM
#1
Phil_123
topic
01-11-2003, 03:28 PM
#2
Aiursrage2k
try this,
set x = GetUnitStateSwap(UNIT_STATE_MANA, GetTriggerUnit())
where x is a 'real'.
01-12-2003, 09:54 AM
#3
Phil_123
no not in jass...
01-13-2003, 12:24 PM
#4
Krakou
Try to use the unit issued order event to detect that your unit use a ability and than test the mana.