The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
#1
Why doesn't this work?

Hey

I have a script box named "Sleep". Why doesn't the script work??

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

void activate_sleep(string &in asParent, string &in asChild, int alState)
{
FadeOut(5);
AddTimer("T1", 10f, "Timer_1");
}

void Timer_1(string &in asTimer)
{
FadeIn(5);
}


Just get error... I've used pretty much the exact same script before without any problem.

(This post was last modified: 04-16-2015, 01:58 PM by Storfigge.)
04-16-2015, 01:57 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)