- Joined
- Jan 25, 2009
- Messages
- 14
ive been trying to make a spell where at night the hero changes into a wolf in gui. i have no idea how to do it. please help
cool ill try it but if i want to make it he changes at 18:00 and returns at 6:00 would i do the same thing except 2 events?Make an ability based on Chaos ability and set the Unit field into the werewolf version of your unit. Let's call it "Lycanthrope".
Create a trigger like this:
This will turn it into Werewolf at midnight. Then you make another trigger like the above with the time changed and removes the ability.
- Events
- Game - The in-game time of day becomes Equal to 0.00
- Conditions
- Actions
- Unit Group - Pick every unit in (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to YourUnit)) and do (Actions)
- Loop - Actions
- Unit - Add Lycanthrope to (Picked unit)
Hope works, cheers.
cool it works. okay then 3 more things. how do i make a sound play to all players like pudges ulti to show that he became a wolf? and what should i base the first ability on? and how do i remove it when it becomes day again seeing as the way u told me isnt working?Yeah. Try it.
oh ok well can u answer my other questions?use the sound trigger: play [sound] for all players.
Just use the fucking SEARCH button before asking something... Darkness Everlasting - Werewolf System - The Hive Workshop - A Warcraft III Modding Site .
Chaos isn't removable ability. Once you give chaos to a unit and it's effect plays (i.e. unit changes into other unit) you change remove it to change unit back. Either make another chaos ability to change back or I recommend storing the original unit into a variable and use a trigger to put him back when u want to change wolf back.