I'm sorry but I can't seem to remember how to fix this .
Compile Error
---------------------------
There was an error compiling your script. The problem was:
In: 'Room 8 script'
Error (line 8): Undefined token 'SetFlashlightDarkness'
And the code I have loaded.
// script for room: Player enters screen (before fadein)
// set darkness so dark than you can still see a little bit of the background (+3)
SetFlashlightDarkness (GetFlashlightMinLightLevel() + 3);
// set brightness to the brightest value
SetFlashlightBrightness (GetFlashlightMaxLightLevel());
// define the outer circle (outside it will be dark)
SetFlashlightDarknessSize (50);
// define the inner circle (inside it will be bright)
SetFlashlightBrightnessSize (20);
// set this to have the light spot follow mouse movement
SetFlashlightFollowMouse (1);
}
How do I fix this ?
I think it's a function from the Flashlight plugin.
Make sure you've added that plugin via the Plugin Manager.
Thankl you I think that was it .