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
Script Help Why wont this work??
4WalledKid Offline
Member

Posts: 107
Threads: 23
Joined: Oct 2012
Reputation: 1
#1
Why wont this work??

[Image: 59ea8b0ea606d5c7808ac3aea6f8b9e7.png]

////////////////////////////
// Run first time starting map
void OnStart()
{
//Add the Lantern and 10 Tinderboxes when in Debug mode, always good to have light!

AddEntityCollideCallback("Player", "area," "lightsOff", true, 1);

}

void lightsOff(string &in asParent, string &in asChild, int alState)
{
//AddPropForce("lamp_1", -30, 0, 0, "world");
//AddDebugMessage("YES", true);
//GivePlayerDamage(0.5, "Claws", true, false);
}

////////////////////////////
// Run when entering map
void OnEnter()
{

}

////////////////////////////
// Run when leaving map
void OnLeave()
{

}

LOL nv

[Image: 4walledkidbanner_zps1514b7f6.png]
(This post was last modified: 06-10-2015, 03:39 AM by 4WalledKid.)
06-10-2015, 03:28 AM
Website Find


Messages In This Thread
Why wont this work?? - by 4WalledKid - 06-10-2015, 03:28 AM
RE: Why wont this work?? - by Romulator - 06-10-2015, 07:24 AM
RE: Why wont this work?? - by Darkfire - 06-10-2015, 09:02 AM
RE: Why wont this work?? - by Mudbill - 06-10-2015, 04:14 PM



Users browsing this thread: 1 Guest(s)