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
How d i add animations to pathnodes?
tonitoni1998 Offline
Member

Posts: 163
Threads: 54
Joined: Oct 2012
Reputation: 1
#1
How d i add animations to pathnodes?

i just doesnt work for some reason

void StopLook1(string &in timer_name)
{
    StopPlayerLookAt();
    StartPlayerLookAt("block_box_2", 15, 17, "");
    AddTimer("", 0.3f, "FadeIn1");
    SetEntityActive("suitor_1", true);
    AddEnemyPatrolNode("suitor_1", "PathNodeArea_1", 5, "flinch.dae_anim");
}
what do i have to insert to get the animation?

When you are looking for someone, to do the scripting for your Custom Story, ask me!
(This post was last modified: 02-23-2013, 07:54 PM by tonitoni1998.)
02-23-2013, 07:40 PM
Find
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#2
RE: How d i add animations to pathnodes?

If you open the suitor in the model editor, you can look at its animations. Just click Settings > Animations. The one called Flinch uses flinch.dae_anim, so your line would look like this:
AddEnemyPatrolNode("suitor_1", "PathNodeArea_1", 5, "Flinch");

In Ruins [WIP]
02-23-2013, 10:09 PM
Find




Users browsing this thread: 2 Guest(s)