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 Error - Unexpected end of file
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#2
RE: Error - Unexpected end of file

You missed a "}" on the end of the function desbloquear, I added it:


void desbloquear(string &in asEntity, int alState)
{
if(alState == 1 || alState == -1) //Pull lever up or down to open the door
{
SetSwingDoorLocked("ENTER_DOOR_NAME", false, false); //unlocks the door
SetEntityActive("ENTER_MONSTERNAME", true);
}
else
{
//Nothing, what happens if the lever is in the middle
}
}

I rate it 3 memes.
07-21-2012, 03:14 AM
Find


Messages In This Thread
Error - Unexpected end of file - by KingCrimson - 07-21-2012, 02:39 AM
RE: Error - Unexpected end of file - by Adny - 07-21-2012, 03:14 AM



Users browsing this thread: 2 Guest(s)