mr_fj
New Member
- Reaction score
- 10
I'm making a AoS map, and I want my hero's pet to auto cast Roar...
I haven't been able to make a true Auto-Cast Roar (If you know how, please enlighten me), so I made this trigger,to make the pet cast it on attack, by copying from triggers converted to text, and using my knowledge of coding in general:
Why isn't it working?
I haven't been able to make a true Auto-Cast Roar (If you know how, please enlighten me), so I made this trigger,to make the pet cast it on attack, by copying from triggers converted to text, and using my knowledge of coding in general:
Trigger:
- Bear Roar
- Events
- Unit - A unit Is issued an order targeting an object
- Conditions
- (Issued order) Equal to (Order(attack))
- ((Ordered unit) is A ground unit) Equal to True
- Or - Any (Conditions) are true
- Conditions
- (Unit-type of (Ordered unit)) Equal to Adult Bear (Level 3)
- (Unit-type of (Ordered unit)) Equal to Trained Bear (Level 4)
- (Unit-type of (Ordered unit)) Equal to Champion Bear (Level 5)
- Conditions
- Actions
- Custom script: local unit BEAR
- Custom script: local unit TARGET
- Custom script: set BEAR = GetOrderedUnit()
- Custom script: set TARGET = GetOrderTargetUnit()
- Unit - Order (Ordered unit) to Night Elf Druid Of The Claw - Roar
- Custom script: call IssueTargetOrderBJ( BEAR, "attack", TARGET )
- Events
Why isn't it working?