- Joined
- Mar 2, 2010
- Messages
- 3,069
if i disable the timer it works but i need a timer for the resource system to be correct and with the timer it doesnt work.
Autocast
Events
Time - Every 0.08 seconds of game time
Conditions
Actions
Set Temp_Group = (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Obelisk))
Unit Group - Pick every unit in Temp_Group and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Mana of (Picked unit)) Equal to 10.00
Then - Actions
Wait 60.00 seconds
Unit - Order (Picked unit) to Undead Obsidian Statue - Activate Spirit Touch
Unit - Order (Picked unit) to Undead Obsidian Statue - Spirit Touch
Else - Actions
Custom script: call DestroyGroup (udg_Temp_Group)
Autocast
Events
Time - Every 0.08 seconds of game time
Conditions
Actions
Set Temp_Group = (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Obelisk))
Unit Group - Pick every unit in Temp_Group and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Mana of (Picked unit)) Equal to 10.00
Then - Actions
Wait 60.00 seconds
Unit - Order (Picked unit) to Undead Obsidian Statue - Activate Spirit Touch
Unit - Order (Picked unit) to Undead Obsidian Statue - Spirit Touch
Else - Actions
Custom script: call DestroyGroup (udg_Temp_Group)