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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
adding animation to a path node help
MsHannerBananer Offline
Member

Posts: 218
Threads: 34
Joined: Sep 2013
Reputation: 10
#7
RE: adding animation to a path node help

As far as I'm aware, you can't actually script a monster to use it's animations. The monster does animations based on situational circumstances, via hearing you or seeing you. I saw somewhere that the asAnimation in the PathNode syntax was virtually useless, as it never worked.

However, should you look to try regardless, then you need to change your asAnimation in the PathNode syntax to one of the animations of the man-pig. So something like this:

PHP Code: (Select All)
AddEnemyPatrolNode("engineer_1""PathNodeArea_10"0.0f"notice1.anm"); 

(I'm actually not sure if you need the extension for the animation. Regardless of it working or not, experiment a little.) Big Grin

You should also follow Kia's advice for the time. 2.0f is about 2 seconds, and if the animation does work, the monster needs more time to complete the animation before moving onto the next PathNode.

(This post was last modified: 04-16-2014, 07:51 PM by MsHannerBananer.)
04-16-2014, 07:50 PM
Find


Messages In This Thread
RE: manpig wont move - by RaideX - 04-14-2014, 08:31 PM
RE: manpig wont move - by lothabread - 04-14-2014, 09:07 PM
RE: adding animation to a path node help - by MsHannerBananer - 04-16-2014, 07:50 PM



Users browsing this thread: 1 Guest(s)