Galdiuz
Creator of Photon Command
- Reaction score
- 98
My custom stampede won't work. Basically, i have a spell that when used, it creates a dummy that casts stampede for you, however, the dummy never uses the spell. If i select the dummy and order it to cast it it works fine, but it won't cast it when ordered by the trigger.
Trigger:
- Meteor Shower
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Earth - Meteor Shower
- Actions
- Floating Text - Create floating text that reads Meteor Shower above (Triggering unit) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
- Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
- Set Player_loc[0] = (Position of (Triggering unit))
- Set Atemp_aloc = (Player_loc[0] offset by 50.00 towards (Facing of (Triggering unit)) degrees)
- Unit - Create 1 Caster Dummy for (Owner of (Triggering unit)) at Atemp_aloc facing Default building facing degrees
- Unit - Add a 11.00 second Generic expiration timer to (Last created unit)
- Unit - Add Meteor Shower to (Last created unit)
- Unit - Set level of Meteor Shower for (Last created unit) to (Level of (Ability being cast) for (Triggering unit))
- Unit - Order (Last created unit) to Neutral Beastmaster - Stampede Atemp_aloc
- EGUI Leak - Remove Atemp_aloc
- EGUI Leak - Remove Player_loc[0]
- Events