- Joined
- Dec 17, 2009
- Messages
- 1,115
[HIDDEN="Triggers"/]Chrone Impulse
[TRIGGERS]Chrone Impulse
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Circle Impulse
Actions
Set CI_Caster[(Player number of (Owner of (Casting unit)))] = (Casting unit)
Set CI_Target[(Player number of (Owner of (Casting unit)))] = (Target unit of ability being cast)
Set CI_Player[(Player number of (Owner of (Casting unit)))] = (Owner of CI_Caster[(Player number of (Owner of (Casting unit)))])
Set CI_Point = (Position of CI_Target[(Player number of (Owner of (Casting unit)))])
-------- Pause the units first! --------
Unit - Pause CI_Caster[(Player number of (Owner of (Casting unit)))]
Unit - Pause CI_Target[(Player number of (Owner of (Casting unit)))]
-------- The Dummies are here AND the casting effects are all here! --------
Unit - Create 1 Spellcaster for CI_Player[(Player number of (Owner of (Casting unit)))] at (CI_Point offset by 650.00 towards 90.00 degrees) facing (Position of CI_Target[(Player number of (Owner of (Casting unit)))])
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Unit - Add Water Impulse to (Last created unit)
Unit - Set level of Water Impulse for (Last created unit) to (Level of Circle Impulse for CI_Caster[(Player number of (Owner of (Casting unit)))])
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave CI_Point
Unit - Create 1 Spellcaster for CI_Player[(Player number of (Owner of (Casting unit)))] at (CI_Point offset by 650.00 towards 45.00 degrees) facing (Position of CI_Target[(Player number of (Owner of (Casting unit)))])
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Unit - Add Water Impulse to (Last created unit)
Unit - Set level of Water Impulse for (Last created unit) to (Level of Circle Impulse for CI_Caster[(Player number of (Owner of (Casting unit)))])
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave CI_Point
Unit - Create 1 Spellcaster for CI_Player[(Player number of (Owner of (Casting unit)))] at (CI_Point offset by 650.00 towards 0.00 degrees) facing (Position of CI_Target[(Player number of (Owner of (Casting unit)))])
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Unit - Add Water Impulse to (Last created unit)
Unit - Set level of Water Impulse for (Last created unit) to (Level of Circle Impulse for CI_Caster[(Player number of (Owner of (Casting unit)))])
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave CI_Point
Unit - Create 1 Spellcaster for CI_Player[(Player number of (Owner of (Casting unit)))] at (CI_Point offset by 650.00 towards 135.00 degrees) facing (Position of CI_Target[(Player number of (Owner of (Casting unit)))])
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Unit - Add Water Impulse to (Last created unit)
Unit - Set level of Water Impulse for (Last created unit) to (Level of Circle Impulse for CI_Caster[(Player number of (Owner of (Casting unit)))])
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave CI_Point
Unit - Create 1 Spellcaster for CI_Player[(Player number of (Owner of (Casting unit)))] at (CI_Point offset by 650.00 towards 180.00 degrees) facing (Position of CI_Target[(Player number of (Owner of (Casting unit)))])
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Unit - Add Water Impulse to (Last created unit)
Unit - Set level of Water Impulse for (Last created unit) to (Level of Circle Impulse for CI_Caster[(Player number of (Owner of (Casting unit)))])
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave CI_Point
Unit - Create 1 Spellcaster for CI_Player[(Player number of (Owner of (Casting unit)))] at (CI_Point offset by 650.00 towards 225.00 degrees) facing (Position of CI_Target[(Player number of (Owner of (Casting unit)))])
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Unit - Add Water Impulse to (Last created unit)
Unit - Set level of Water Impulse for (Last created unit) to (Level of Circle Impulse for CI_Caster[(Player number of (Owner of (Casting unit)))])
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave CI_Point
Unit - Create 1 Spellcaster for CI_Player[(Player number of (Owner of (Casting unit)))] at (CI_Point offset by 650.00 towards 270.00 degrees) facing (Position of CI_Target[(Player number of (Owner of (Casting unit)))])
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Unit - Add Water Impulse to (Last created unit)
Unit - Set level of Water Impulse for (Last created unit) to (Level of Circle Impulse for CI_Caster[(Player number of (Owner of (Casting unit)))])
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave CI_Point
-------- Unpause it --------
Unit - Unpause CI_Caster[(Player number of (Owner of (Casting unit)))]
Unit - Unpause CI_Target[(Player number of (Owner of (Casting unit)))]
-------- Null it --------
Custom script: call RemoveLocation( udg_CI_Point )
Set CI_Caster[(Player number of (Owner of (Casting unit)))] = No unit
Set CI_Target[(Player number of (Owner of (Casting unit)))] = No unit
[/TRIGGERS]
[/HIDDEN]
[TRIGGERS]Chrone Impulse
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Circle Impulse
Actions
Set CI_Caster[(Player number of (Owner of (Casting unit)))] = (Casting unit)
Set CI_Target[(Player number of (Owner of (Casting unit)))] = (Target unit of ability being cast)
Set CI_Player[(Player number of (Owner of (Casting unit)))] = (Owner of CI_Caster[(Player number of (Owner of (Casting unit)))])
Set CI_Point = (Position of CI_Target[(Player number of (Owner of (Casting unit)))])
-------- Pause the units first! --------
Unit - Pause CI_Caster[(Player number of (Owner of (Casting unit)))]
Unit - Pause CI_Target[(Player number of (Owner of (Casting unit)))]
-------- The Dummies are here AND the casting effects are all here! --------
Unit - Create 1 Spellcaster for CI_Player[(Player number of (Owner of (Casting unit)))] at (CI_Point offset by 650.00 towards 90.00 degrees) facing (Position of CI_Target[(Player number of (Owner of (Casting unit)))])
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Unit - Add Water Impulse to (Last created unit)
Unit - Set level of Water Impulse for (Last created unit) to (Level of Circle Impulse for CI_Caster[(Player number of (Owner of (Casting unit)))])
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave CI_Point
Unit - Create 1 Spellcaster for CI_Player[(Player number of (Owner of (Casting unit)))] at (CI_Point offset by 650.00 towards 45.00 degrees) facing (Position of CI_Target[(Player number of (Owner of (Casting unit)))])
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Unit - Add Water Impulse to (Last created unit)
Unit - Set level of Water Impulse for (Last created unit) to (Level of Circle Impulse for CI_Caster[(Player number of (Owner of (Casting unit)))])
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave CI_Point
Unit - Create 1 Spellcaster for CI_Player[(Player number of (Owner of (Casting unit)))] at (CI_Point offset by 650.00 towards 0.00 degrees) facing (Position of CI_Target[(Player number of (Owner of (Casting unit)))])
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Unit - Add Water Impulse to (Last created unit)
Unit - Set level of Water Impulse for (Last created unit) to (Level of Circle Impulse for CI_Caster[(Player number of (Owner of (Casting unit)))])
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave CI_Point
Unit - Create 1 Spellcaster for CI_Player[(Player number of (Owner of (Casting unit)))] at (CI_Point offset by 650.00 towards 135.00 degrees) facing (Position of CI_Target[(Player number of (Owner of (Casting unit)))])
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Unit - Add Water Impulse to (Last created unit)
Unit - Set level of Water Impulse for (Last created unit) to (Level of Circle Impulse for CI_Caster[(Player number of (Owner of (Casting unit)))])
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave CI_Point
Unit - Create 1 Spellcaster for CI_Player[(Player number of (Owner of (Casting unit)))] at (CI_Point offset by 650.00 towards 180.00 degrees) facing (Position of CI_Target[(Player number of (Owner of (Casting unit)))])
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Unit - Add Water Impulse to (Last created unit)
Unit - Set level of Water Impulse for (Last created unit) to (Level of Circle Impulse for CI_Caster[(Player number of (Owner of (Casting unit)))])
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave CI_Point
Unit - Create 1 Spellcaster for CI_Player[(Player number of (Owner of (Casting unit)))] at (CI_Point offset by 650.00 towards 225.00 degrees) facing (Position of CI_Target[(Player number of (Owner of (Casting unit)))])
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Unit - Add Water Impulse to (Last created unit)
Unit - Set level of Water Impulse for (Last created unit) to (Level of Circle Impulse for CI_Caster[(Player number of (Owner of (Casting unit)))])
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave CI_Point
Unit - Create 1 Spellcaster for CI_Player[(Player number of (Owner of (Casting unit)))] at (CI_Point offset by 650.00 towards 270.00 degrees) facing (Position of CI_Target[(Player number of (Owner of (Casting unit)))])
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Unit - Add Water Impulse to (Last created unit)
Unit - Set level of Water Impulse for (Last created unit) to (Level of Circle Impulse for CI_Caster[(Player number of (Owner of (Casting unit)))])
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave CI_Point
-------- Unpause it --------
Unit - Unpause CI_Caster[(Player number of (Owner of (Casting unit)))]
Unit - Unpause CI_Target[(Player number of (Owner of (Casting unit)))]
-------- Null it --------
Custom script: call RemoveLocation( udg_CI_Point )
Set CI_Caster[(Player number of (Owner of (Casting unit)))] = No unit
Set CI_Target[(Player number of (Owner of (Casting unit)))] = No unit
[/TRIGGERS]
[/HIDDEN]
Last edited: