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
Activating sanity and makign a level door operate.
Equil Offline
Member

Posts: 94
Threads: 8
Joined: Sep 2010
Reputation: 0
#8
RE: Activating sanity and makign a level door operate.

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

Firstly, the name should be in quotations("servant_grunt_1").

asNodeName = The path node you want the grunt to move to e.g "PathNodeArea_1".

afWaitTime = How long you want the grunt to wait after reaching this node before moving onto the next, 0 auto calculates.

asAnimation = The animation to use I think, just leave this as "".

So we have:

AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_1", 0, "");
10-05-2010, 09:07 AM
Find


Messages In This Thread
RE: Activating sanity and makign a level door operate. - by Equil - 10-05-2010, 09:07 AM



Users browsing this thread: 2 Guest(s)