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!