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 Unexpected end of file error problem :(
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#2
RE: Unexpected end of file error problem :(

I see your error, change this:

void UnlockDoor(string &in asEntity, int LeverState)
{
if(GetLeverState("Lever1") == -1
&& GetLeverState("Lever2") == -1)
GetLeverState("Lever3") == 1)
GetLeverState("Lever4") == -1)

{
SetSwingDoorLocked("Door", false, true);
PlaySoundAtEntity("", "unlock_door.snt", "Door", 0, false);
}
}

For this:

void UnlockDoor(string &in asEntity, int LeverState)
{
if(GetLeverState("Lever1") == -1)
&& GetLeverState("Lever2") == -1)
GetLeverState("Lever3") == 1)
GetLeverState("Lever4") == -1)

{
SetSwingDoorLocked("Door", false, true);
PlaySoundAtEntity("", "unlock_door.snt", "Door", 0, false);
}
}

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
01-26-2014, 06:14 PM
Find


Messages In This Thread
RE: Unexpected end of file error problem :( - by The chaser - 01-26-2014, 06:14 PM



Users browsing this thread: 3 Guest(s)