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 1 error which I can't solve/find?!
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#8
RE: 1 error which I can't solve/find?!

Are you sure you updated your script?

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

Also this:

void UnlockDoor(string &in asEntity, int LeverState)
SetSwingDoorLocked("Door", false, true);
PlaySoundAtEntity("", "door_safety_open.ogg", "Door", 0, false);

}

This is the end of your script... You're missing brackets { }

Trying is the first step to success.
(This post was last modified: 01-24-2014, 10:37 PM by FlawlessHappiness.)
01-24-2014, 10:35 PM
Find


Messages In This Thread
RE: 1 error which I can't solve/find?! - by FlawlessHappiness - 01-24-2014, 10:35 PM



Users browsing this thread: 5 Guest(s)