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
Declaring an entity
JPiiONEFOURONE Offline
Junior Member

Posts: 13
Threads: 4
Joined: Sep 2012
Reputation: 0
#1
Declaring an entity

Hey guys,

I am connecting a point light to a candlestick, so when the candlestick is lit by the player, the point light activates.

[Image: Untitled.png]

In my mapname.hps file, I have the following function.

void LightCandle1(string &in asEntity)
{
    SetLightVisible(PointLight_1, true);
}

When I try to load the map, I get this error;

[Image: Untitled2.png]

How do I fix this error?

Thanks,

JPiiONEFOURONE
09-05-2012, 10:21 AM
Find


Messages In This Thread
Declaring an entity - by JPiiONEFOURONE - 09-05-2012, 10:21 AM
RE: Declaring an entity - by Your Computer - 09-05-2012, 10:40 AM
RE: Declaring an entity - by Obliviator27 - 09-05-2012, 11:47 AM
RE: Declaring an entity - by Steve - 09-05-2012, 02:47 PM
RE: Declaring an entity - by GoranGaming - 09-05-2012, 09:06 PM
RE: Declaring an entity - by FlawlessHappiness - 09-05-2012, 09:19 PM
RE: Declaring an entity - by failedALIAS - 09-05-2012, 09:27 PM



Users browsing this thread: 1 Guest(s)