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
Light script
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#1
Light script

Hey i dont understand what i done wrong here

void void OnStart()
{
AddEntityCollideCallback("Player", "Light_area", "Lights", true, 1);


}
void Lights(string &in asParent, string &in asChild, int alState)
{
SetLightVisible("torch_static01_3", true);
SetLightVisible("torch_static01_4", true);
}

i got the area named right in level editor , the Lights dosnt call :/ any clue

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
(This post was last modified: 04-09-2012, 12:19 AM by jessehmusic.)
04-08-2012, 11:05 PM
Website Find


Messages In This Thread
Light script - by jessehmusic - 04-08-2012, 11:05 PM
RE: Light script - by Mackiiboy - 04-08-2012, 11:55 PM
RE: Light script - by jessehmusic - 04-09-2012, 12:00 AM



Users browsing this thread: 1 Guest(s)