mr_fj
New Member
- Reaction score
- 10
I tried the code on page 1, it fails at saying it expected an action.
And it wouldn't work anyways because it will still be a loop, could someone please answer my previous question :
Why isn't this working:
Trigger:
- call IssueImmediateOrder(bear,"roar")
And it wouldn't work anyways because it will still be a loop, could someone please answer my previous question :
Why isn't this working:
Trigger:
- Bear Roar
- Events
- Unit - A unit Is attacked
- Conditions
- BearRoar Equal to True
- Or - Any (Conditions) are true
- Conditions
- (Unit-type of (Attacking unit)) Equal to Adult Bear (Level 3)
- (Unit-type of (Attacking unit)) Equal to Trained Bear (Level 4)
- (Unit-type of (Attacking unit)) Equal to Champion Bear (Level 5)
- Conditions
- Actions
- Custom script: local unit BEAR
- Custom script: local unit TARGET
- Custom script: set BEAR = GetAttacker()
- Custom script: set TARGET = GetAttackedUnitBJ()
- Unit - Order (Ordered unit) to Night Elf Druid Of The Claw - Roar
- Wait 1.00 seconds
- Custom script: call IssueTargetOrderBJ( BEAR, "attack", TARGET )
- Custom script: set BEAR = null
- Custom script: set TARGET = null
- Set BearRoar = False
- Wait 30.00 seconds
- Set BearRoar = True
- Events