- Joined
- Sep 3, 2006
- Messages
- 940
I've created this ability where it changes depending on wether it's day or night. It changes between the two abilities called "Dodge" and "Weak Spot". But alas, in-game nothing happens when it turns night-time (or the other way around).
Here's my triggers:
EDIT: (By the way, I do have the correct unit selected, and he has both abilities (Weak Spot being disabled), and it being daytime when the game starts.)
Here's my triggers:
-
D and WS D to N
-
Events
- Game - The in-game time of day becomes Equal to 18.00
- Conditions
-
Actions
-
Unit Group - Pick every unit in (Units currently selected by Player 1 (Red)) and do (Actions)
-
Loop - Actions
- Set Werewolf_LVLofAbility = (Level of Dodge for (Picked unit))
- Wait 0.01 seconds
- Player - Disable Dodge for (Owner of (Picked unit))
- Player - Enable Weak Spot for (Owner of (Picked unit))
- Unit - Set level of Weak Spot for (Picked unit) to Werewolf_LVLofAbility
-
Loop - Actions
-
Unit Group - Pick every unit in (Units currently selected by Player 1 (Red)) and do (Actions)
-
Events
-
D and WS N to D
-
Events
- Game - The in-game time of day becomes Equal to 6.00
- Conditions
-
Actions
-
Unit Group - Pick every unit in (Units currently selected by Player 1 (Red)) and do (Actions)
-
Loop - Actions
- Set Werewolf_LVLofAbility = (Level of Weak Spot for (Picked unit))
- Wait 0.01 seconds
- Player - Disable Weak Spot for (Owner of (Picked unit))
- Player - Enable Dodge for (Owner of (Picked unit))
- Unit - Set level of Dodge for (Picked unit) to Werewolf_LVLofAbility
-
Loop - Actions
-
Unit Group - Pick every unit in (Units currently selected by Player 1 (Red)) and do (Actions)
-
Events
EDIT: (By the way, I do have the correct unit selected, and he has both abilities (Weak Spot being disabled), and it being daytime when the game starts.)
Last edited: