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
An "Unexpected end of file" error?
MissMarilynn Offline
Member

Posts: 77
Threads: 23
Joined: Oct 2011
Reputation: 1
#7
RE: An "Unexpected end of file" error?

(10-21-2011, 09:31 PM)Your Computer Wrote: Level doors are unlocked with SetLevelDoorLocked, not SetSwingDoorLocked.
It gave me an error when I switched it out?

It said no matching signatures.

AddUseItemCallback("", "girl_key", "Girls_Dorm_First_Floor", "openlevel", false);


void openlevel(string &in asItem, string &in asEntity)
{
SetLevelDoorLocked("Girls_Dorm_First_Floor", false, true);
PlaySoundAtEntity("", "unlock_door", "door1", 0, false);
RemoveItem("girl_key");
PlayMusic("02_puzzle.ogg", false, 0.7f, 0, 10, false);
GiveSanityBoostSmall();
}
(This post was last modified: 10-21-2011, 09:35 PM by MissMarilynn.)
10-21-2011, 09:32 PM
Find


Messages In This Thread
RE: An "Unexpected end of file" error? - by MissMarilynn - 10-21-2011, 09:32 PM



Users browsing this thread: 2 Guest(s)