• 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.

[Trigger] Animation Issues

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,286
Its working exactly as you tell it to. You tell it every 0.02 seconds to play the animation so it does. It however does not have enough time to finish the animation before you play another animation, thus your effect you are getting. What you want is to play an animation, pause the trigger until it is finished, then resume it again.
 
The trigger is set in stone. Cannot change the time. Besides, if it was .5 I would still have the issues. Your second suggestion just gave me an idea though...
Thinking
have a string array variable saying what animation I have told them to play, and a real array variable saying how long they have been playing the animation (which I can update with the .02 trigger), then depending on the animation I can change what is going on.
Im going to try it and report back how it goes.
 
Last edited:
Okay, pretty much have it working. But now it is really choppy... What is up with it?

  • ...
    • -------- Animation --------
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • vY Equal to 0.00
      • Then - Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • vX Not equal to 0.00
            • Animation Not equal to walk
          • Then - Actions
            • Set Animation = walk
            • Set AnimationTiming = 0.00
            • Animation - Play Footman 0000 <gen>'s walk animation
          • Else - Actions
            • Set Animation = stand
            • Animation - Reset Footman 0000 <gen>'s animation
      • Else - Actions
        • Set Animation = stand
        • Animation - Reset Footman 0000 <gen>'s animation
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • Animation Equal to walk
      • Then - Actions
        • Set AnimationTiming = (AnimationTiming + 0.02)
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • AnimationTiming Greater than or equal to 0.77
          • Then - Actions
            • Set AnimationTiming = 0.00
            • Animation - Play Footman 0000 <gen>'s walk animation
          • Else - Actions
      • Else - Actions

When this runs he has a crazy looking walk but his stand is just fine. What is wrong with it?
 
Status
Not open for further replies.
Top