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
#5
RE: An "Unexpected end of file" error?

(10-21-2011, 08:59 PM)Your Computer Wrote:
(10-21-2011, 08:55 PM)MissMarilynn Wrote: I tried but it didn't work...:/

I always avoid the WYSIWYG editor of the forums. The source editor will never give you problems (if you understand bbcodes).
I understand bbcodes a little. I'm relatively new to forums. It's been a huge help though with my scripting!

I can't get my key code to work for some reason too...It's a level door I'm trying to unlock. My code right now is:


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


void openlevel(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("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();
}

It removes my key and give me the sanity boost and plays the music but it won't unlock.
10-21-2011, 09:08 PM
Find


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



Users browsing this thread: 1 Guest(s)