- Joined
- Jun 7, 2007
- Messages
- 33
Ok....I ask too many of these =P. But...I've tried to make this myself, which I attempt to do before I ask for help. My trigger....failed, miserably. But what I need help on is a trigger that will detect whether a unit is in combat or not and when he enters combat it will remove Bloodrage (activateable) and replace it with the passive. I made a trigger using...
BTW Yes I know this was the stupidest way to even try to make this trigger.....but I couldn't think of anything else and I wanted to see how bad it would be like that. Don't comment on how bad it is plz =P
Thanks in advance.
-
Combat
-
Events
- Unit - A unit Is attacked
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of (Attacking unit)) Equal to Orc Warrior
- ((Owner of (Attacked unit)) is an enemy of (Owner of (Attacking unit))) Equal to True
-
Then - Actions
- Set InCombat = 1
- Unit - Remove Bloodrage from (Attacking unit)
- Unit - Add Bloodrage In Combat to (Attacking unit)
- Else - Actions
-
If - Conditions
- Wait 1.00 seconds
- Set InCombat = 0
- Wait 10.00 seconds
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of (Attacking unit)) Equal to Orc Warrior
- ((Owner of (Attacked unit)) is an enemy of (Owner of (Attacking unit))) Equal to True
- InCombat Equal to 0
-
Then - Actions
- Unit - Remove Bloodrage In Combat from (Attacking unit)
- Unit - Add Bloodrage to (Attacking unit)
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
BTW Yes I know this was the stupidest way to even try to make this trigger.....but I couldn't think of anything else and I wanted to see how bad it would be like that. Don't comment on how bad it is plz =P
Thanks in advance.
Last edited: