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
GreyFox Offline
Member

Posts: 162
Threads: 23
Joined: Jul 2011
Reputation: 2
#5
RE: Script Help

Sorry to Bother again, but I have got an error now.

The Error Reads:
could not load script file blah blah (Standard Stuff)
main (21, 1) :ERR : Unexpected token '{'

I understand that it means it doesn't have to be there or something along those lines but if I remove that one Bracket or Both it still gives me an error.

{
    SetEntityPlayerInteractCallback("Mansion_5", "MonsterActivate", true);
}

    void MonsterActivate(string &in Entity)
{
    SetEntityActive("Frank", true);
}


Line 21 is the bracket Above SetEntityPlayerInteractCallback.

Thank you once again and I think this should be the last thing before it starts working. I hope in the future I can become more efficient at scripting lol.


Current Project
Forgotten
07-12-2011, 09:02 PM
Find


Messages In This Thread
Script Help - by GreyFox - 07-12-2011, 05:13 PM
RE: Script Help - by Zypherzemus - 07-12-2011, 07:17 PM
RE: Script Help - by GreyFox - 07-12-2011, 07:26 PM
RE: Script Help - by Zypherzemus - 07-12-2011, 08:38 PM
RE: Script Help - by GreyFox - 07-12-2011, 09:02 PM
RE: Script Help - by Kyle - 07-12-2011, 09:05 PM
RE: Script Help - by GreyFox - 07-13-2011, 07:05 PM
RE: Script Help - by Zypherzemus - 07-13-2011, 08:02 PM
RE: Script Help - by GreyFox - 07-13-2011, 08:13 PM
RE: Script Help - by ferryadams11 - 07-13-2011, 08:24 PM
RE: Script Help - by GreyFox - 07-13-2011, 09:16 PM



Users browsing this thread: 1 Guest(s)