- Joined
- Aug 13, 2008
- Messages
- 50
-
SerpentStingLoop1
-
Events
- Time - Every 0.01 seconds of game time
- Conditions
-
Actions
- Set SS_TargetLocation = (Position of SS_Target)
- Set SS_DummyLocation = (Position of SS_Dummy)
- Unit - Move SS_Dummy instantly to (SS_DummyLocation offset by 10.00 towards (Facing of SS_Dummy) degrees), facing SS_TargetLocation
- Set SS_Distance = (Distance between SS_TargetLocation and SS_DummyLocation)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- SS_Distance Less than or equal to 15.00
-
Then - Actions
- Unit - Remove SS_Dummy from the game
- Unit - Create 1 Serpent Sting for (Owner of SS_Caster) at SS_TargetLocation facing (Facing of SS_Target) degrees
- Unit - Order (Last created unit) to Undead Necromancer - Cripple SS_Target
- Unit - Add a 0.30 second Generic expiration timer to (Last created unit)
- Unit Group - Add SS_Target to SS_Group
- Else - Actions
-
If - Conditions
-
Events