- Joined
- Sep 3, 2009
- Messages
- 458
Greeting's everyone I'm neku99 and I apparently need your help again. Here's the ability:
Stealth(actually I'm thinking of another name)
At day time:
Stealth - [Day]
Gives a 15% chance to evade an attack.
At night time:
Stealth - [Night]
Gives a 30% chance to evade an attack and appear transparent.
And then here's the trigger:
I don't know what I'm doing wrong here. It should work, but it ain't doing what it's supposed to do. Can someone please help me. Help is highly appreciated.
+Rep too~ ^_^
Stealth(actually I'm thinking of another name)
At day time:
Stealth - [Day]
Gives a 15% chance to evade an attack.
At night time:
Stealth - [Night]
Gives a 30% chance to evade an attack and appear transparent.
And then here's the trigger:
-
Stealth
-
Events
-
Time - Every 0.05 seconds of game time
-
-
Conditions
-
Actions
-
Unit Group - Pick every unit in HeroGroup and do (Actions)
-
Loop - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Stealth (Neutral Hostile) for (Picked unit)) Not equal to (!=) 0
-
-
Then - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple ConditionsOr - Any (Conditions) are true
-
Conditions
-
(In-game time of day) Greater than or equal to (>=) 6.00
-
(In-game time of day) Less than (<) 18.00
-
-
-
-
Then - Actions
-
Animation - Change (Picked unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
-
Unit - Set level of Stealth (Neutral Hostile) for (Picked unit) to 1
-
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple ConditionsOr - Any (Conditions) are true
-
Conditions
-
(In-game time of day) Less than (<) 6.00
-
(In-game time of day) Greater than or equal to (>=) 18.00
-
-
-
-
Then - Actions
-
Animation - Change (Picked unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 5.00% transparency
-
Unit - Set level of Stealth (Neutral Hostile) for (Picked unit) to 2
-
-
Else - Actions
-
-
-
-
-
Else - Actions
-
-
-
-
-
I don't know what I'm doing wrong here. It should work, but it ain't doing what it's supposed to do. Can someone please help me. Help is highly appreciated.
+Rep too~ ^_^