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
Error: Unexpected token {
ThePaSch Offline
Member

Posts: 108
Threads: 11
Joined: Sep 2010
Reputation: 0
#8
RE: Error: Unexpected token {

void OnStart()
{
AddEntityCollideCallback("Player" , "ScriptArea_1" , "MonsterFunc1" , true , 1);
AddUseItemCallback("", "Elevator_key", "elevator_door_1", "KeyOnDoor", true);
}

void MonsterFunc1(string &in asParent , string &in asChild , int alState)
{
SetEntityActive("servant_grunt_1" , true);
}

void KeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("elevator_door_1", false, true);
PlaySoundAtEntity("", "unlock_door.snt", "elevator_door_1", 0.0f, true);
}
01-06-2011, 03:10 PM
Find


Messages In This Thread
Error: Unexpected token { - by Neatherblade - 01-05-2011, 11:27 PM
RE: Error: Unexpected token { - by ModManDann - 01-05-2011, 11:49 PM
RE: Error: Unexpected token { - by Mofo - 01-05-2011, 11:51 PM
RE: Error: Unexpected token { - by Neatherblade - 01-06-2011, 12:18 PM
RE: Error: Unexpected token { - by Russ Money - 01-06-2011, 12:22 PM
RE: Error: Unexpected token { - by Neatherblade - 01-06-2011, 12:38 PM
RE: Error: Unexpected token { - by ModManDann - 01-06-2011, 12:45 PM
RE: Error: Unexpected token { - by ThePaSch - 01-06-2011, 03:10 PM
RE: Error: Unexpected token { - by Neatherblade - 01-06-2011, 03:45 PM



Users browsing this thread: 1 Guest(s)