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
Script Help Fatal Error
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#2
RE: Fatal Error

Well you have a problem here: (Outtakes of your script)

void OnStart()
{
AddItemUseCallback("", "key_1", "lockdoor_1", "UsedKeyOnDoor", true);

}

void MyFunc(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("lockdoor_1", false, true);
PlaySoundAtEntity("", "unlock_door", "lockdoor_1", 0, false);
RemoveItem("key_1");
}



The highlighted text should be the same.

Trying is the first step to success.
11-13-2012, 08:36 PM
Find


Messages In This Thread
Fatal Error - by RedSampson00 - 11-13-2012, 08:33 PM
RE: Fatal Error - by FlawlessHappiness - 11-13-2012, 08:36 PM
RE: Fatal Error - by RedSampson00 - 11-13-2012, 08:42 PM
RE: Fatal Error - by FlawlessHappiness - 11-13-2012, 08:46 PM
RE: Fatal Error - by RedSampson00 - 11-13-2012, 09:00 PM
RE: Fatal Error - by FlawlessHappiness - 11-13-2012, 09:05 PM
RE: Fatal Error - by The chaser - 11-13-2012, 10:13 PM
RE: Fatal Error - by FlawlessHappiness - 11-13-2012, 10:21 PM
RE: Fatal Error - by The chaser - 11-13-2012, 11:27 PM



Users browsing this thread: 4 Guest(s)