- Joined
- Nov 25, 2014
- Messages
- 526
I need some help. I have been hibernating from Warcraft III for more than a year and I pretty much forgot a lot of triggering stuffs. So please don't lash at me.
Basically it is a 'spell'. When a Hero casts it, it summons 5 obelisks around it and they attack the Hero for 10 seconds. During this summoning, the Hero is paused and plays the channel animation. After 10 seconds, the obelisks expire and the Hero should be unpaused and resets his animation to default.
But it doesn't work. Why?
Basically it is a 'spell'. When a Hero casts it, it summons 5 obelisks around it and they attack the Hero for 10 seconds. During this summoning, the Hero is paused and plays the channel animation. After 10 seconds, the obelisks expire and the Hero should be unpaused and resets his animation to default.
But it doesn't work. Why?
-
Ritual
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Marked
-
-
Actions
-
Set temppoint[100] = (Position of (Casting unit))
-
For each (Integer A) from 101 to 105, do (Actions)
-
Loop - Actions
-
Set temppoint[(Integer A)] = ((temppoint[100] offset by 0.00 towards 0.00 degrees) offset by 256.00 towards (72.00 x (Real((Integer A)))) degrees)
-
Unit - Pause (Casting unit)
-
Animation - Play (Casting unit)'s channel animation
-
Unit - Create 1 Monk for Player 12 (Brown) at temppoint[(Integer A)] facing Default building facing degrees
-
Set createdunit[(Integer A)] = (Last created unit)
-
Unit - Add a 10.00 second Generic expiration timer to createdunit[(Integer A)]
-
Unit - Order createdunit[(Integer A)] to Attack (Casting unit)
-
-
-
Wait 10.00 seconds
-
Unit - Unpause (Casting unit)
-
Animation - Reset (Casting unit)'s animation
-
Custom script: call RemoveLocation(udg_temppoint[100])
-
Custom script: call RemoveLocation(udg_temppoint[101])
-
Custom script: call RemoveLocation(udg_temppoint[102])
-
Custom script: call RemoveLocation(udg_temppoint[103])
-
Custom script: call RemoveLocation(udg_temppoint[104])
-
Custom script: call RemoveLocation(udg_temppoint[105])
-
-