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
Monster multiple node path problem.
xtron Offline
Senior Member

Posts: 402
Threads: 37
Joined: May 2011
Reputation: 2
#2
RE: Monster multiple node path problem.

SetEntityActive("Monster2" , true);
AddEnemyPatrolNode2("Monster2", "PathNodeArea_20", 3.0f, "");
AddEnemyPatrolNode2("Monster2", "PathNodeArea_4", 10.0f, "");
AddEnemyPatrolNode2("Monster2", "PathNodeArea_58", 1.0f, "");
AddEnemyPatrolNode2("Monster2", "PathNodeArea_59", 2.0f, "");

When it's a float you need to add a decimal ex: 3 should be 3.0
and since it's a float you need to add f afterwards, like this: 3.0f

[Image: 44917299.jpg]Dubstep <3
06-30-2011, 10:47 PM
Find


Messages In This Thread
RE: Monster multiple node path problem. - by xtron - 06-30-2011, 10:47 PM
RE: Monster multiple node path problem. - by Kyle - 06-30-2011, 11:16 PM



Users browsing this thread: 1 Guest(s)