Warcraft III resources & community, 2003–2006 · archived
How can u set the unit maximum speed above 522(the limit)
29 posts
Waldbaer
#16
What kind of unit is it you want to move? If it's an air unit or there won't be many obstacles in its way, a periodic event - move instantly Trigger might do what you want.
Ok i know and used the thing with move unit instanlty already but when i do that i cant make that unit to play ther unit walk animation when it is moving like this it is more cool. U can use point with ofset.Other animation work.How can u set u play the unit walk animation when a unit it is moved instanly in the front of him very 0.10 seconds lets say..
Waldbaer
#18
It doesn't work with the GUI Set Unit Animation, but I found out that it does if you use the custom script function SetUnitAnimationByIndex. To use it find out the unit's name by using it in a short trigger and converting that to custom text or use GetTriggerUnit() or whatever function. Then enter the following into a custom script action:
call SetUnitAnimationByIndex( unit, number )
The number is the animation. Try to find out which is the correct one or use wc3viewer: Open the model, count the animations down to the desired one beginning with zero and you have your number.
call SetUnitAnimationByIndex( gg_unit_n000_0000, 1 ) this thing really works dude tanks .But who can u learn jass from? I saw w3 jass and....no other way? But this works...arrrrr!
Waldbaer
#20
If you know c++, java or any other programming language, JASS is quite easy to understand. I didn't learn it systematically, too. Just everytime if something doesn't work as I want it to work, I look for a JASS function that could do the job browsing the functions in JASS Shop Pro. And if I'm scripting something, I can always convert triggers to custom text and have the function name I need. For the basics of JASS, Daelin wrote a cool tutorial. If you also work like me and always start thinking with the GUI, his Basic JASS tips might also be very useful for you, later also the Advanced JASS tips. Anyways, the function I use mostly is this SetUnitAnimationByIndex because it's often unevitable in Cinematics.
Ramza... all that WeU does is makes any enter/doble click into a Shift+enter/double click. that does not mean it physically allows you to break things hardcoded into the system...
i rly thought i one time made a dummy unit that had 5000 movespeed cuz i wanted it look like its moving instantly, but, dunno for sure if it worked anymore. ok if u cant do that, then just every 0.03 sec move it alittle further with X and Y coordinates and play its movement animation (i once saw some1 doing this in a spell)
and Graber, go talk about ur self made hand somewhere else
Hey I found a way u can do this. Run around naked on the streets shouting 523!!524!!525!!!etc, then jump from the roof of a very tall building.5 minutes later you should be able to do this.