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
Area collide turning on torches problem.
Fetishman Offline
Junior Member

Posts: 42
Threads: 3
Joined: Aug 2011
Reputation: 7
#1
Area collide turning on torches problem.

So i have an area collide callback
AddEntityCollideCallback("Player", "Areagruntactive", "LightFuction", true, 1);

Which then is supposed to light "greentorch1". This is the void function that i have.
void LightFunction(string &in asParent, string &in asChild, int alState)
{
    SetLampLit("greentorch1", true,);
}

Now i'm pretty new to scripting in general, and a correction and/or explanation of why this doesn't work would be appreciated.
08-25-2011, 05:16 AM
Find


Messages In This Thread
Area collide turning on torches problem. - by Fetishman - 08-25-2011, 05:16 AM



Users browsing this thread: 1 Guest(s)