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:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I - disable all hints/turn on lights with a switch?
GoreGrinder99 Offline
Member

Posts: 166
Threads: 47
Joined: Feb 2013
Reputation: 1
#1
How do I - disable all hints/turn on lights with a switch?

As the title states, how do I go about doing so? Is there a global script for disabling hints? Do the lights run on the same process as using a switch to open a door or passage?

The script I have now is giving me a crash error:

ERR :No matching signatures to 'SetLampLit(string@&, const bool, string@&)'

This is the script pertaining too:

void OnStart()
{
SetEntityConnectionStateChangeCallback("candlestick_wall_1", "LightsFunction");
}


void LightsFunction(string &in asEntity, int alState)
{
{
SetLampLit("candlestick_wall_1", true, "");
return;
}
}

-Grind to the Gore-
(This post was last modified: 08-05-2013, 02:38 PM by GoreGrinder99.)
08-05-2013, 05:52 AM
Find


Messages In This Thread
How do I - disable all hints/turn on lights with a switch? - by GoreGrinder99 - 08-05-2013, 05:52 AM



Users browsing this thread: 1 Guest(s)