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 token "{" error from this script.
dasde Offline
Junior Member

Posts: 30
Threads: 6
Joined: May 2011
Reputation: 0
#5
RE: Unexpected token "{" error from this script.

Fixed it by myself.

This is my script for future googlers:
void OnLeverStateChange(string &in Lever1, int alState)
{
        if (alState == -1)
        {
            AddLocalVarInt("Var01", 1);
        }    

}

void OnLeverStateChange1(string &in Lever7, int alState)
{
        if (alState == -1)
        {
            AddLocalVarInt("Var01", 7);
        }
}
05-27-2011, 02:25 PM
Find


Messages In This Thread
RE: Unexpected token "{" error from this script. - by dasde - 05-27-2011, 02:25 PM



Users browsing this thread: 1 Guest(s)