Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support


Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Expected Identifier Error
Author Message
bkrstirregular Offline
Junior Member

Posts: 17
Joined: May 2012
Reputation: 0
Post: #1
Expected Identifier Error

I think I'll be making a lot of these tonight..I'm getting so frustrated with coding that I want to pull my hair out ;_;

//AddUseItemCallback
AddUseItemCallback("", "Key_1", "firstdoor1", "UsedKeyOnDoor", true);
{
void UsedKeyOnDoor(string &in asItem, string &in asEntity){
SetSwingDoorLocked("firstdoor1", false, true);
PlaySoundAtEntity("", "unlock_door", "firstdoor1", 0, false);
RemoveItem("Key_1");
}


Can someone tell me what I've done wrong here?
05-02-2012 02:18 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Expected Identifier Error - bkrstirregular - 05-02-2012 02:18 AM



User(s) browsing this thread: 1 Guest(s)