How do I make a model use both its attack animations?

RadiuS.x

Active Member
Reaction score
2
How do I make a morph ability for two separate attacks on a unit?

The model I am using has a gun in his left hand, and a hammer in his right, and so there's two separate attack animations there.

How do I make a morph ability for two separate attacks on a unit?
 

Grags_1977

Ultra Cool Member
Reaction score
32
There's 2 ways...


This will call any animation you want and completely override any other animation.

Custom script: call SetUnitAnimationByIndex(udg_YOURUNIT, ANIMATIONNUMBER)


But usually. This should be what your after.


Animation - Add the Attack 2 animation tag to YOUR_UNIT

And to revert back to attack 1. Do this

Animation - Remove the Attack 2 animation tag to YOUR_UNIT


To find out what the attacks are. Select your unit and look at his animations on the left hand side of the screen by using the arrows to flick through them


Hope this helps.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      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