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
Level Editor Help I Have A problem in Script!!! Please Help me!!
FinBanana Offline
Junior Member

Posts: 29
Threads: 4
Joined: Jan 2012
Reputation: 0
#2
RE: I Have A problem in Script!!! Please Help me!!

The void OnEnter() is having two '{'s
so, it should look like this:void OnEnter()
{
AddUseItemCallback("", "awesomekey_1", "mansion_1", "KeyOnDoor", true);
}


Also, your Function is named wrong, it should be "KeyOnDoor" but yours is "MyFunc", so change it
03-24-2012, 09:27 AM
Find


Messages In This Thread
RE: I Have A problem in Script!!! Please Help me!! - by FinBanana - 03-24-2012, 09:27 AM



Users browsing this thread: 1 Guest(s)