(Keeps Hive Alive)
Go Back   The Hive Workshop - A Warcraft III Modding Site > Warcraft III Modding > World Editor Help Zone

World Editor Help Zone Need help with Blizzard's World Editor? Ask general questions about its features and use in this forum. README!

Reply
 
LinkBack Thread Tools Display Modes
Old 07-18-2008, 02:16 AM   #1 (permalink)

User
 
Join Date: Jul 2008
Posts: 14

Microdragon6 is an unknown quantity at this point (0)


Play unit animation problem

I've only been working with the editor for a few days, so this might be an easily fixed problem but... I'm making a trigger that when a skill is cast on a target, the casting unit goes into unit animation. So I did

Animation - Play (Triggering unit)'s spell 2 animation.

When it works it looks great, but it really only works some of the time. The reason is that the triggering unit that has the skill has 3 spell animations, and so it only does the one i want 1/3 of the time.

So my question is, is there a way to make it so it only plays that certain animation? Or possibly just deactivate all the others. because I don't really need them.
Microdragon6 is offline   Reply With Quote
Old 07-18-2008, 02:52 AM   #2 (permalink)
 
Ribenamania's Avatar

I'm ready !
 
Join Date: May 2008
Posts: 555

Ribenamania is on a distinguished road (81)Ribenamania is on a distinguished road (81)


Try playing the unit's spell - 2 animation for 3 times
Ribenamania is offline   Reply With Quote
Old 07-18-2008, 02:58 AM   #3 (permalink)

User
 
Join Date: Jul 2008
Posts: 14

Microdragon6 is an unknown quantity at this point (0)


well that doesn't help with the problem of getting rid of the other animations, i just want it to show the one spell for the animation. Best case scenario for that is it plays the animation 3x.
Microdragon6 is offline   Reply With Quote
Old 07-18-2008, 03:14 AM   #4 (permalink)
 
Ribenamania's Avatar

I'm ready !
 
Join Date: May 2008
Posts: 555

Ribenamania is on a distinguished road (81)Ribenamania is on a distinguished road (81)


Change the animation name of the spell to the animation name you want ?
Ribenamania is offline   Reply With Quote
Old 07-18-2008, 03:36 AM   #5 (permalink)

User
 
Join Date: Jul 2008
Posts: 14

Microdragon6 is an unknown quantity at this point (0)


is there a way of doing that other than making it a variable? I tried making it into a variable and it worked sometimes, but not 100% of the time.
Microdragon6 is offline   Reply With Quote
Old 07-18-2008, 03:45 AM   #6 (permalink)
 
Ribenamania's Avatar

I'm ready !
 
Join Date: May 2008
Posts: 555

Ribenamania is on a distinguished road (81)Ribenamania is on a distinguished road (81)


swt =.= you don't understand .. it's easy, don't even need a trigger

Just go to your spell , got to animation place and add spell, looping and then add the name of the animation you want.
Ribenamania is offline   Reply With Quote
Old 07-18-2008, 04:50 AM   #7 (permalink)

User
 
Join Date: Jul 2008
Posts: 14

Microdragon6 is an unknown quantity at this point (0)


Yeah thats not working for me... Can't give a spell the animation of a unit i don't think, unless you know otherwise
Microdragon6 is offline   Reply With Quote
Old 07-18-2008, 05:52 AM   #8 (permalink)
 
Ribenamania's Avatar

I'm ready !
 
Join Date: May 2008
Posts: 555

Ribenamania is on a distinguished road (81)Ribenamania is on a distinguished road (81)


Like this wor
Attached Thumbnails
.jpg  
Ribenamania is offline   Reply With Quote
Old 07-18-2008, 05:56 AM   #9 (permalink)

User
 
Join Date: Jul 2008
Posts: 14

Microdragon6 is an unknown quantity at this point (0)


Ok so I can put a unit animation for the skill and that'll make it work? I'm editing this because I said "thats too hard to see" but I put it into paint and zoomed in and I could so nvm...

Last edited by Microdragon6; 07-18-2008 at 05:58 AM.. Reason: Update
Microdragon6 is offline   Reply With Quote
Old 07-18-2008, 06:11 AM   #10 (permalink)
 
Ribenamania's Avatar

I'm ready !
 
Join Date: May 2008
Posts: 555

Ribenamania is on a distinguished road (81)Ribenamania is on a distinguished road (81)


Untitled Trigger 001
Events
Unit - A unit Begins channeling an ability
Conditions
(Ability being cast) Equal to Your Skill
Actions
Animation - Play (Casting unit)'s the animation you want animation

Try This
Ribenamania is offline   Reply With Quote
Old 07-18-2008, 06:30 AM   #11 (permalink)

User
 
Join Date: Jul 2008
Posts: 14

Microdragon6 is an unknown quantity at this point (0)


lotus flying
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Hidden Lotus (Lee)
Actions
Unit - Create 1 flying lee 3 for (Triggering player) at (Position of (Triggering unit)) facing (Target point of ability being cast)
Animation - Queue (Last created unit)'s spell 2 animation
Animation - Play (Last created unit)'s spell 2 animation




Thats basically what i've been messing around with. The que animation is something I just put in there as one of my attempts to make it work. I've tried it without it also.
Microdragon6 is offline   Reply With Quote
Old 07-18-2008, 02:27 PM   #12 (permalink)
 
MeKC's Avatar

User
 
Join Date: Jul 2008
Posts: 113

MeKC has little to show at this moment (9)


Or use this script to play the unit animation.

call SetUnitAnimationByIndex(unit,index)
MeKC is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
i need a animation for my unit kevonl999 Requests 3 08-11-2007 12:53 PM
Transformation Spell - Unit doesn't play animation? Fenrik Triggers & Scripts 6 05-10-2007 04:46 AM
Unit animation xamaro Requests 11 11-21-2006 04:51 PM
Sync'ing Unit Animation Holla Atcha Boy Triggers & Scripts 2 10-28-2006 06:48 AM
Animation - Play Stand X abriko Map Development 6 12-10-2005 09:11 PM

All times are GMT. The time now is 05:20 AM.






Your link here 
Web Advertising | MPAA | Loans | Xbox Mod Chip | MPAA
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright©Ralle