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?
taz251 Offline
Junior Member

Posts: 7
Threads: 3
Joined: Jul 2012
Reputation: 0
#5
RE: UNEXPECTED END OF FILE ERROR?

(07-27-2012, 10:15 AM)andyrockin123 Wrote: 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");
}
THANK YOU SO MUCH! Smile
It worked!
07-27-2012, 10:22 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: 1 Guest(s)