Ability Animation in Object Editor

Grags_1977

Ultra Cool Member
A little rumour tells me I can set the required animation to play through Object Editor.

Could somoene please explain to me how I do this?

As atm I use this...

Trigger:
  • Ability
    • Events
    • Conditions
    • Actions
      • Wait 0.01 seconds
      • Custom script: call SetUnitAnimationByIndex(UNIT, ANIMATIONNUMBER)


My guess is it's Art - Animation Names.

But what do I put in there?
 

Grags_1977

Ultra Cool Member
Thankyou. Works a treat :)

EDIT: Is the same for Animations like "Attack - 2"

Ive set it up like

Attack
2

Is this correct? As it doesn't seem to be working for me :(
 

merlinds

Member
You can use the function
Trigger:
  • Animation - Play Soldier 0000 <gen>'s attack animation, using only Rare animations

But you will not be able to play all the animations, like Attack 1 attack 2 attack 3.
For this the only option is to use Jass into a custom script
 

Laiev

Hey Listen!!
Animations with number on it, like:


Attack 1
Attack 2
Attack 3

or

Spell - 1
Spell - 2
Spell - 3

Is like variation of animation, you can't play it directly without [ljass]SetUnitAnimationByIndex[/ljass]
 

GFreak45

I didnt slap you, i high 5'd your face.
he has that already in his first trigger laev, made a complete circle lol
 

Laiev

Hey Listen!!
Is Laiev >.>

And He don't say anything before about the variation of animation, just how to setup it :)
 

GFreak45

I didnt slap you, i high 5'd your face.
lol like i said, in a circle
and yes i knew that laiev, just a typo

there may be a system for changing the animation index of a unit for casts easily
 

Grags_1977

Ultra Cool Member
I was just looking for short cuts. I'm happy to carry on using the custom script. As the model i'm using is Grabers Villager255 model. And as anyone who uses that model knows. He has 255 different animations. And they are all variations.
 

KaerfNomekop

Swim, fishies. Swim through the veil of steel.
You can still use the first animations, like Attack Morph - 1 and Stand Defend - 1.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Jesus4Lyf Jesus4Lyf:
    Hmm, how to summarize... Moved to the USA and got married. Became a professional software engineer and solution lead. Learning Godot for game dev. :)
  • jonas jonas:
    So you are pursuing game dev as a hobby? What industry is your dayjob in?
  • jonas jonas:
    FAANG?
  • Jesus4Lyf Jesus4Lyf:
    Not quite FAANG, less pay for a less hours/stress. Yeah, game dev as a hobby.
  • jonas jonas:
    makes sense. Do we have a hobby game dev subforum to showcase some work?
  • Blackveiled Blackveiled:
    Happy Thursday
    +1
  • The Helper The Helper:
    Happy Thursday!
  • The Helper The Helper:
    TGIF!
  • The Helper The Helper:
    hey tom_mai please do not archive anymore news
  • Ghan Ghan:
    AMD Ryzen 7000 next week :D
    +1
  • The Helper The Helper:
    noice!
  • tom_mai78101 tom_mai78101:
    "hey tom_mai please do not archive anymore news" ----> Got it. What should we do with the "News Archive" subforum?
  • The Helper The Helper:
    I think leave it for real old news that cannot be sorted the reason we had it in the first place was a server issue that we do not have anymore. I don't want to get rid of the archive just not put anything in it for now until we figure it out more
  • The Helper The Helper:
    The side chat has nothing on the discord. it is not possible but the biggest thing on my wish list right now is a sidechat channel on the disord that hooks up to this...
  • Ghan Ghan:
    I've been selected for the Diablo IV beta.
    +1
  • Ghan Ghan:
    Woo!
    +1
  • The Helper The Helper:
    that is so cool
  • V-SNES V-SNES:
    Eh just noticed the new discord section on the side. Looks great!
    +1
  • Blackveiled Blackveiled:
    :( feels bad I can't ever get selected for any beta I sign up for. It's annoying as heck.
    +1
  • The Helper The Helper:
    Hello mgarcia! Happy Monday everyone!
  • The Helper The Helper:
    Happy Tuesday! :)

    The Helper Discord

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top