Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Call animation for enemy?
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#2
RE: Call animation for enemy?

There is a basic function that allows use for specific animations, but it requires the use of path nodes:

AddEnemyPatrolNode(string& asName, string& asNodeName, float afWaitTime, string& asAnimation);

Basically, the enemy will move to a position node, then play an animation. To find the name of the animations to use in the string argument, open an enemy in the model editor, then go to "Settings>Animations". The brute has animations like "SwingClaws01" and "SwingClaws02".

Hope that helped!

I rate it 3 memes.
02-02-2013, 07:15 AM
Find


Messages In This Thread
Call animation for enemy? - by 39Games - 02-02-2013, 07:08 AM
RE: Call animation for enemy? - by Adny - 02-02-2013, 07:15 AM
RE: Call animation for enemy? - by 39Games - 02-02-2013, 07:18 AM



Users browsing this thread: 1 Guest(s)