| 03-17-2007, 07:04 PM | #1 |
Code:
Events
Time - tRepeat expires
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Mana of (Picked unit)) Equal to (Max mana of (Picked unit))
Then - Actions
Custom script: if ( call GetHandleBoolean(GetEnumUnit(), "abc") == true ) then
Unit - Order (Picked unit) to Human Archmage - Summon Water Elemental
Custom script: endif
Else - ActionsMy custom script doesnt work, its probably something really simple that I'm missing, but I'm not fluent in JASS. Any Ideas on what is wrong? |
| 03-17-2007, 07:11 PM | #2 |
JASS:if ( GetHandleBoolean(GetEnumUnit(), "abc") == true ) then No "call" needed. and use [trigger] tags. |
| 03-17-2007, 08:04 PM | #3 |
And there is no "Picked Unit". Unless there's more of the trigger I'm not seeing. |
