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
UNEXPECTED END OF FILE ERROR?
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#4
RE: UNEXPECTED END OF FILE ERROR?

I see; set swing door locked needs a second Boolean (true/false) value to determine whether or not to use effects; these effects (depending on the type of door) are the unlocking sound played. Here, I corrected the entire function "Needle", and marked the new Boolean value false(you can change that though):


void Needle(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("mansion_4", false, false);
PlaySoundAtEntity("", "unlock_door", "mansion_4", 0, false);
RemoveItem("needle_1");
}

I rate it 3 memes.
07-27-2012, 10:15 AM
Find


Messages In This Thread
UNEXPECTED END OF FILE ERROR? - by taz251 - 07-27-2012, 09:33 AM
RE: UNEXPECTED END OF FILE ERROR? - by Adny - 07-27-2012, 09:59 AM
RE: UNEXPECTED END OF FILE ERROR? - by taz251 - 07-27-2012, 10:06 AM
RE: UNEXPECTED END OF FILE ERROR? - by Adny - 07-27-2012, 10:15 AM
RE: UNEXPECTED END OF FILE ERROR? - by taz251 - 07-27-2012, 10:22 AM



Users browsing this thread: 2 Guest(s)