- Joined
- Mar 24, 2013
- Messages
- 1,105
I'm having a problem with my trigger and I'm not entirely sure why it doesn't work. I believe Owner of OwnerDetector 0013 <gen> Presses the Up Arrow Key is not working. Because I put a Print message to test and it wasn't firing, but I don't know why.
-
Mana Ball
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Mana Ball
-
Actions
- Set ManaBall_Caster = (Casting unit)
- Set ManaBall_DetectOwner = (Owner of ManaBall_Caster)
- Unit - Change ownership of OwnerDetector 0013 <gen> to ManaBall_DetectOwner and Change color
- Unit - Create 1 Ball for (Owner of ManaBall_Caster) at ((Position of ManaBall_Caster) offset by 100.00 towards 90 degrees) facing Default building facing degrees
- Unit - Add a 10.00 second Generic expiration timer to (Last created unit)
- Set ManaBall_Dummy = (Last created unit)
- Camera - Lock camera orientation for (Owner of ManaBall_Caster) to ManaBall_Dummy, offset by (0.00, 0.00)
- Wait 0.10 seconds
- Trigger - Turn on Mana Ball Up <gen>
- Wait 10.00 seconds
- Unit - Change ownership of OwnerDetector 0013 <gen> to Neutral Passive and Change color
- Trigger - Turn off Mana Ball Up <gen>
-
Events
-
Mana Ball Up
-
Events
- Player - (Owner of OwnerDetector 0013 <gen>) Presses the Up Arrow key
- Conditions
-
Actions
- Unit - Move ManaBall_Dummy instantly to ((Position of ManaBall_Dummy) offset by 12.00 towards 90.00 degrees)
-
Events