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
Why doesn't this work?
Storfigge Offline
Member

Posts: 101
Threads: 31
Joined: Sep 2012
Reputation: 0
#3
RE: Why doesn't this work?

(04-16-2015, 02:12 PM)FlawlessHappiness Wrote: You need to tell us the error.

The first thing that comes to mind is that you're missing "void OnStart()" in your first function.

void OnStart()
{
AddEntityCollideCallback("Player", "Sleep", "activate_sleep", true, 1);
}

Oops i apologize i did actually add void OnStart() just missed to put that in the first question. The error is

: INFO : Compiling void activate_sleep(string&in, string&in, int)

: ERR : Expected ')' or ',' This one is for the AddTimer

04-16-2015, 04:39 PM
Find


Messages In This Thread
Why doesn't this work? - by Storfigge - 04-16-2015, 01:57 PM
RE: Why doesn't this work? - by FlawlessHappiness - 04-16-2015, 02:12 PM
RE: Why doesn't this work? - by Storfigge - 04-16-2015, 04:39 PM
RE: Why doesn't this work? - by FlawlessHappiness - 04-16-2015, 04:42 PM
RE: Why doesn't this work? - by Storfigge - 04-16-2015, 04:47 PM
RE: Why doesn't this work? - by Amnesiaplayer - 04-16-2015, 04:52 PM
RE: Why doesn't this work? - by Storfigge - 04-16-2015, 04:57 PM
RE: Why doesn't this work? - by Romulator - 04-17-2015, 01:07 AM
RE: Why doesn't this work? - by Storfigge - 04-17-2015, 01:30 PM
RE: Why doesn't this work? - by FlawlessHappiness - 04-17-2015, 01:34 PM
RE: Why doesn't this work? - by Storfigge - 04-17-2015, 02:46 PM



Users browsing this thread: 1 Guest(s)