- Joined
- Aug 8, 2010
- Messages
- 1,022
Hi! I want to ask you a very stupid question. where i can find 'Unit has ABILITY NAME equal to true/false'. I know the question is stupid, but i just can't find it...
Unfortunately there isn't something exactly as you said, but here's what you can do which is pretty much the same:
This works, because if the ability level is below 1, then the unit doesn't have it.
- (Level of Cripple for (Triggering unit)) Greater than or equal to 1
It's not a stupid question really, although it is stupid that Blizzard didn't include a simple function for it.
thats what i have already said.
Actually i found another way that works better for my situation - i used
But thanks anyway! ))
- (Learned Hero Skill) Equal to Flexible paws [Bear]
Actually nothing worked! (rofl) my trigger is here, help?
- Bear Flaxible paws
- Events
- Time - Every 0.01 seconds of game time
- Conditions
- (Level of Flexible paws [Bear] for (Picked unit)) Greater than or equal to 1
- Actions
- Special Effect - Create a special effect attached to the hand, right of (Attacking unit) using Abilities\Spells\Orc\TrollBerserk\TrollBeserkerTarget.mdl
- Trigger - Turn off (This trigger)
It is a hero. But i can't find Hero gains new ability, all i found was Unit - Unit gains new ability, and if i use Unit - Unit gains new ability - the trigger isn't working..
this is the trigger:
- Bear Flaxible paws
- Events
- Unit - A unit Learns a skill
- Conditions
- (Level of Flexible paws [Bear] for (Picked unit)) Greater than or equal to 1
- Actions
- Special Effect - Create a special effect attached to the hand, right of (Attacking unit) using Abilities\Spells\Orc\TrollBerserk\TrollBeserkerTarget.mdl
- Trigger - Turn off (This trigger)
Screw the triggers and just add the Effect as an attachment to the abillity.
Actually nothing worked! (rofl) my trigger is here, help?
- Bear Flaxible paws
- Events
- Time - Every 0.01 seconds of game time
- Conditions
- (Level of Flexible paws [Bear] for (Picked unit)) Greater than or equal to 1
- Actions
- Special Effect - Create a special effect attached to the hand, right of (Attacking unit) using Abilities\Spells\Orc\TrollBerserk\TrollBeserkerTarget.mdl
- Trigger - Turn off (This trigger)