- Joined
- Jun 16, 2007
- Messages
- 1,574
Ok Valkmeire Created me this Trigger
Is their away to make this trigger detect the right unit.
so lets say i was "Super Saiyan Goku" and i clicked "Power Up" insted of having a annoying "normal Aura" it gave me a "Super Saiyan Aura" and i obtained the right sound clip.
-
power up begin
-
Events
-
Unit - A unit Begins channeling an ability
-
-
Conditions
-
(Ability being cast) Equal to PowerUp
-
-
Actions
-
Set PowerUpCaster = (Casting unit)
-
Set PowerUpPoint = (Position of PowerUpCaster)
-
Unit - Create 1 Aura for (Owner of PowerUpCaster) at PowerUpPoint facing Default building facing degrees
-
Set PowerUpDummy[0] = (Last created unit)
-
Unit - Move PowerUpDummy[0] instantly to PowerUpPoint
-
Animation - Change PowerUpDummy[0]'s animation speed to 300.00% of its original speed
-
Unit - Add a 0.20 second Generic expiration timer to PowerUpDummy[0]
-
Camera - Shake the camera for (Owner of PowerUpCaster) with magnitude 13.00
-
-
-
power up effect
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to PowerUp
-
-
Actions
-
Wait 0.10 seconds
-
Unit - Pause PowerUpCaster
-
Sound - Play powerup <gen> at 100.00% volume, attached to PowerUpCaster
-
Custom script: call RemoveLocation(udg_PowerUpPoint)
-
Set PowerUpDummy[0] = No unit
-
Wait 1.00 seconds
-
Camera - Stop swaying/shaking the camera for (Owner of PowerUpCaster)
-
Unit - Unpause PowerUpCaster
-
Set PowerUpCaster = No unit
-
-
Is their away to make this trigger detect the right unit.
so lets say i was "Super Saiyan Goku" and i clicked "Power Up" insted of having a annoying "normal Aura" it gave me a "Super Saiyan Aura" and i obtained the right sound clip.