- Joined
- Jul 11, 2009
- Messages
- 15
I made i spell thats throws a boll but suddeleny when i saved and then come back to it it stoped working When i throw nothing happend
Here are the triggers:
Here are the triggers:
-
shoot
-
Events
- Unit - A unit Begins casting an ability
-
Conditions
- Throw [Y] Equal to (Ability being cast)
-
Actions
- Wait 0.30 seconds
- Set Missle_angel[(Custom value of (Item carried by (Triggering unit) in slot 1))] = (Angle from (Position of (Triggering unit)) to (Target point of ability being cast))
- Unit - Create 1 Missle for (Owner of (Casting unit)) at ((Position of (Triggering unit)) offset by 30.00 towards Missle_angel[(Custom value of (Item carried by (Casting unit) in slot 1))] degrees) facing Default building facing degrees
- Unit - Turn collision for (Last created unit) Off
- Set Missle[(Custom value of (Item carried by (Triggering unit) in slot 1))] = (Last created unit)
- Unit - Set the custom value of (Last created unit) to (Custom value of (Item carried by (Triggering unit) in slot 1))
- Set speed[(Custom value of (Item carried by (Triggering unit) in slot 1))] = 16.00
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Casting unit) has buff Rune of swirl ) Equal to True
-
Then - Actions
- Set Swirl[(Custom value of (Item carried by (Casting unit) in slot 1))] = True
- Set speed[(Custom value of (Item carried by (Triggering unit) in slot 1))] = 20.00
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Casting unit) has buff Rune of Power ) Equal to True
-
Then - Actions
- Set speed[(Custom value of (Item carried by (Triggering unit) in slot 1))] = 26.00
- Else - Actions
-
If - Conditions
- Set move[(Custom value of (Item carried by (Triggering unit) in slot 1))] = True
- Item - Remove (Item carried by (Triggering unit) of type Ball)
- Unit - Replace (Casting unit) with a Shadow Hunter using The old unit's relative life and mana
- Selection - Select (Last replaced unit) for (Owner of (Last replaced unit))
-
Events
-
move
-
Events
- Time - Every 0.01 seconds of game time
- Conditions
-
Actions
-
For each (Integer A) from 1 to number_of_balls, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- move[(Integer A)] Equal to True
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Swirl[(Integer A)] Equal to True
-
Then - Actions
- Set Missle_angel[(Integer A)] = (Missle_angel[(Integer A)] + (Random real number between -10.00 and 10.00))
- Set speed[(Integer A)] = (speed[(Integer A)] - 0.01)
-
Else - Actions
- Set speed[(Integer A)] = (speed[(Integer A)] - 0.02)
-
If - Conditions
- Unit - Move Missle[(Integer A)] instantly to ((Position of Missle[(Integer A)]) offset by speed[(Integer A)] towards Missle_angel[(Integer A)] degrees)
- Set speed[(Integer A)] = (speed[(Integer A)] - 0.02)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- speed[(Integer A)] Less than 5.00
-
Then - Actions
- Set Swirl[(Integer A)] = False
- Unit - Pause Missle[(Integer A)]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- speed[(Integer A)] Less than or equal to 1.00
-
Then - Actions
- Unit - Create 1 Weapon for Neutral Hostile at (Position of Missle[(Integer A)]) facing Default building facing degrees
- Unit - Set the custom value of (Last created unit) to (Custom value of Missle[(Integer A)])
- Unit - Remove Missle[(Integer A)] from the game
- Trigger - Run check <gen> (checking conditions)
- Set move[(Integer A)] = False
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
For each (Integer A) from 1 to number_of_balls, do (Actions)
-
Events