• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

Changing Animation speed

Status
Not open for further replies.
Level 2
Joined
Jan 29, 2005
Messages
8
Hello.

I have made a spell which Freezes the target. Could somebody tell how I could change the target's animation speed to zero so it would appear frozen, I suppose this is done by triggers?

I used Storm Bolt as a template and removed the stun buff. Now the unit is covered in a block of ice but it still moves inside of it.

Thanks.
 
Level 2
Joined
Jan 29, 2005
Messages
8
Yeah but I can't figure out what the event should be? I tried to find something like "When the unit is hit by a spell".
 
Level 5
Joined
Jan 27, 2007
Messages
154
no just attach what ghostwolf said in the event.....

Change target unit of ability being cast animation speed to 0.00%.
Wait for X seconds
Change target unit of ability being cast animation speed to 100%.

or

Event:
Time - Every X seconds in game

Action:
Pick every unit in Playable Map Area and do actions:
If/Then/Else
If -> Picked unit has X buff
Then -> Change picked unit animation speed to 0.00%.
 
Level 1
Joined
Jan 11, 2008
Messages
3
There is a trigger that changes the movement speed, which you can use togheter with an event that triggers when a unit starts the effects of an ability, targeting the "target unit of ability being cast".

But, if I understood correctly and in fact you want a skill that technically works just like Storm Bolt but looks like a freezing spell instead, I'd say that it would be more effective to just change the buff instead of removing it.

Buff
1) Make a new buff based off stunned, maybe renaming it to "freezed".
2) Changing the special effect to the ice block you prefer.
3) Change the attachment point from "overhead" to maybe "chest".

Spell
1) Make a new ability based off Storm Bolt.
2) Change the name and descriptions to make it look like the freezing stuff.
3) Change the buff from stunned to the "freezed" one you just made.

There you are! :infl_thumbs_up:
 
Level 5
Joined
Jan 6, 2005
Messages
137
A problem though, after setting the animation speed to 0% and back to.. anyitnh really, i for one normaly get the problem that the unit's animation will "freeze" between attack animations / stand animatíons for 10th of a second or something, this is very weird.
 
Status
Not open for further replies.
Top