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
"Switch" loops not working as it should
TheGreatCthulhu Offline
Member

Posts: 213
Threads: 10
Joined: Oct 2010
Reputation: 32
#7
RE: "Switch" loops not working as it should

@OP: The problem in you original code was that the x variable was of type int, so when you assigned "x=0.001", the value got implicitly converted to the nearest integer, which is 0. And, as palistov said, since with AddEnemyPathNode() zero is not zero... you got the idea (I suppose you knew this, since you tried to assign 0.001).
02-20-2013, 01:47 PM
Find


Messages In This Thread
RE: "Switch" loops not working as it should - by TheGreatCthulhu - 02-20-2013, 01:47 PM



Users browsing this thread: 1 Guest(s)