The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Boolean Type
Victor Offline
Member

Posts: 83
Threads: 19
Joined: Oct 2011
Reputation: 2
#1
Thumbs Down  Boolean Type

What is "boolean"? Because I'm trying to make an enemy loop between 18 path nodes, but there is a fatal error...


for (int i = 1; i <11; i++)
{
int x = i;
if (i == 1)
{
x = 2;
}
if (i = 18)
{
x = 4;
}
if (i != 1 || i != 18)
{
x = 0;
}
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_1"+17, 18, "");
}

It says that there it needs to be something of boolean type, and I don't know what is it... Please, help?!
(This post was last modified: 12-05-2011, 06:59 PM by Victor.)
12-05-2011, 04:27 PM
Find


Messages In This Thread
Boolean Type - by Victor - 12-05-2011, 04:27 PM
RE: Boolean Type - by nemesis567 - 12-05-2011, 08:04 PM
RE: Boolean Type - by Your Computer - 12-06-2011, 01:58 AM
RE: Boolean Type - by Victor - 12-07-2011, 12:43 AM
RE: Boolean Type - by nemesis567 - 12-06-2011, 04:18 PM
RE: Boolean Type - by Tanshaydar - 12-07-2011, 01:00 AM
RE: Boolean Type - by Victor - 12-07-2011, 01:32 AM



Users browsing this thread: 1 Guest(s)