Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hey! I'm new to scripting, need some help.
i3670 Offline
Posting Freak

Posts: 1,308
Threads: 74
Joined: Oct 2011
Reputation: 36
#3
RE: Hey! I'm new to scripting, need some help.

The only thing that points out for me is the beginning

void OnStart()

{

if(ScriptDebugOn())

{



AddUseItemCallback("", "key_1", "door_1", "UsedKeyOnDoor", true);



AddEntityCollideCallback("Player", "ScriptArea_1", "ActivateMonster", true, 1);



SetEntityConnectionStateChangeCallback("lever_simple01_1", "func_secret_1");

}

You have 2 { and only 1 }

"What you think is irrelevant" - A character of our time

A Christmas Hunt
05-22-2012, 04:36 PM
Find


Messages In This Thread
RE: Hey! I'm new to scripting, need some help. - by i3670 - 05-22-2012, 04:36 PM



Users browsing this thread: 3 Guest(s)