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
Unexpected end of file?!? plz help..
GTalbot Offline
Junior Member

Posts: 3
Threads: 1
Joined: Jul 2011
Reputation: 0
#5
RE: Unexpected end of file?!? plz help..

i was having the same problem do you see an error in this.

void OnStart()

{
AddUseItemCallback("", "key", "door", "KeyOnDoor", true);
SetEntityPlayerInteractCallback("note", "MonsterSpawn_1", true);
}
void KeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("door", false, true);
PlaySoundAtEntity("", "unlock_door", "door", 0, false);
RemoveItem("key");
}
void MonsterSpawn_1(string &in asEntity)
{
SetEntityActive("grunt", true);
AddEnemyPatrolNode(grunt", "PathNodeArea_1", 3.5f, "");
AddEnemyPatrolNode(grunt", "PathNodeArea_2", 3.5f, "");
AddEnemyPatrolNode(grunt", "PathNodeArea_3", 3.5f, "");
}
////////////////////////////
// Run when leaving map
void OnLeave()

{

}
07-17-2011, 10:24 PM
Find


Messages In This Thread
Unexpected end of file?!? plz help.. - by Jumpman - 05-11-2011, 04:49 PM
RE: Unexpected end of file?!? plz help.. - by GTalbot - 07-17-2011, 10:24 PM



Users browsing this thread: 4 Guest(s)