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
List of Amnesia variables
Sazureth Offline
Junior Member

Posts: 20
Threads: 8
Joined: Jan 2012
Reputation: 0
#7
RE: List of Amnesia variables

Aaaand now while we're at it;

Could you tell me why my for-loop doesn't work in the void Patrol()?
It works if put inside void OnStart but not in Patrol. Calling the Patrol works fine, I'm sure of that (because the same area trigger a function that works)
void OnStart ()
{
AddEntityCollideCallback("Player", "test1", "Patrol", true, 1);
}

void Patrol()
{
    SetEntityActive("servant_grunt", true);
    for (int i = 1; i < 7; i++)
    {
         AddEnemyPatrolNode("servant_grunt", "PathNodeArea_"+i, 0, "");
    }
}
01-04-2012, 04:29 AM
Find


Messages In This Thread
List of Amnesia variables - by Sazureth - 01-04-2012, 03:30 AM
RE: List of Amnesia variables - by Statyk - 01-04-2012, 03:32 AM
RE: List of Amnesia variables - by Sazureth - 01-04-2012, 03:46 AM
RE: List of Amnesia variables - by Statyk - 01-04-2012, 04:00 AM
RE: List of Amnesia variables - by Sazureth - 01-04-2012, 04:12 AM
RE: List of Amnesia variables - by Statyk - 01-04-2012, 04:16 AM
RE: List of Amnesia variables - by Sazureth - 01-04-2012, 04:29 AM
RE: List of Amnesia variables - by Statyk - 01-04-2012, 04:34 AM
RE: List of Amnesia variables - by Your Computer - 01-04-2012, 07:14 PM
RE: List of Amnesia variables - by Krymtel - 01-06-2012, 03:23 PM
RE: List of Amnesia variables - by Apjjm - 01-06-2012, 05:57 PM
RE: List of Amnesia variables - by MrBigzy - 01-04-2012, 07:33 PM
RE: List of Amnesia variables - by Sazureth - 01-06-2012, 07:17 PM
RE: List of Amnesia variables - by MrBigzy - 01-06-2012, 07:55 PM



Users browsing this thread: 1 Guest(s)