mordocai
New Member
- Reaction score
- 17
hey guys, i have recently made a trigger that spawns a world tree(dummy) at the target point. All goes well in the trigger except when its time for it to explode dealing dmg. IE: casting a warstomp. The dummy gets the ability but for some reasong will not cast it, it has as much mana as it can get and there is no cd/mana cost on the spell. I put a wait in there because idk how else to delay the effects
Trigger:
- Tree
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Test
- Actions
- Set Caster = (Triggering unit)
- Set TargetLoc = (Target point of ability being cast)
- Unit - Create 1 Dummy2 for (Owner of Caster) at TargetLoc facing Default building facing degrees
- Set Dummy = (Last created unit)
- Unit - Add Explode (DummyUse) to Dummy
- Unit - Set level of Explode (DummyUse) for Dummy to (Level of Test for Caster)
- Unit - Add a 3.00 second Generic expiration timer to Dummy
- Wait 2.50 seconds
- Animation - Play Dummy's death animation
- Unit - Order Dummy to Orc Tauren Chieftain - War Stomp
- Unit - Remove Dummy from the game
- Custom script: call RemoveLocation(udg_TargetLoc)
- Set Dummy = No unit
- Set Caster = No unit
- Events