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 problem - No matching signatures
Evulmeh Offline
Junior Member

Posts: 3
Threads: 1
Joined: Feb 2011
Reputation: 0
#1
Script problem - No matching signatures

Hey guys, just started working on some scripting, been trying to get this thing to run for 3 hours now =/

Short backstory: The room has candles (as in a ritual) and need to be lit. Once lit I want the ritual to be completed, and the door to open. So I made a callback script (using just 1 candle for now) stating when the lamp is lit, the door will unlock.

void OnStart()
{
SetLampLitChangeCallback("candle_floor_1","Lamp_4_lit");
}

void Lamp_4_lit(bool abActive)
{
SetSwingDoorLocked("mansion_1", false, true);
}

Unfortunately when I run the level it comes back with "No matching signatures for SetLampLitChangeCallback"

Did I enter all the parameters correctly? Or did they remove this callback from the game?

Thanks for all that can help! Smile
02-06-2011, 11:55 AM
Find


Messages In This Thread
Script problem - No matching signatures - by Evulmeh - 02-06-2011, 11:55 AM



Users browsing this thread: 1 Guest(s)