• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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