Thanks for the efforts, unfortunately it didn't quite fix the problem. It's about the same error code but some of the numbers jumped around so I'm guessing the errors are popping up in different parts of the code? I'll copy and paste the message here again.
rpg_managers.js:1756 TypeError: Cannot read property 'note' of undefined
at ReloadMapEvents ([Redacted]/js/plugins/TerraxLighting.js:1007:45)
at Lightmask._updateMask ([Redacted]/js/plugins/TerraxLighting.js:1203:4)
at Lightmask.update ([Redacted]/js/plugins/TerraxLighting.js:980:11)
at [Redacted]/js/rpg_core.js:3569:19
at Array.forEach (native)
at Spriteset_Map.Sprite.update ([Redacted]/js/rpg_core.js:3567:19)
at Spriteset_Map.Spriteset_Base.update ([Redacted]/js/rpg_sprites.js:2141:29)
at Spriteset_Map.update ([Redacted]/js/rpg_sprites.js:2271:37)
at f[Redacted]/js/rpg_scenes.js:112:19
at Array.forEach (native)
I do appreciate the efforts and I do know that at least 1.3.9 works with auto-load, but something around 1.4.5 broke it. I'll test some of the versions in-between those two to see which transition caused it to stop working.
How do you change the color for it? And as well as apply it to all the maps in the game? Cause after an event the game turns to night in one map, but then when I get to another it looks like it's day. Also is it possible to attatch a light to something like a lantern and have the player pick it up. giving off the player radius light after they pick it up.
Like for a campfire I want the glow to be orange, but it won't let me do so. And flickering too, so how do I do this?
Hey together,
I got this script today, because I need some small light effects like glowing lamps. I wrote "Light 400 #F9FCB6 B70" in a note tag for testing purpose, but nothing happend. The screen I try it on is tinted with the default maker function.
Do I need another plugin for making it run?
I think you need to use the plugin's tint function instead of the maker's default.
That should do the trick.
I just can't pinpoint you to the correct setup right now, but the notetags for that should go into the map settings.
There should be something in the plugin's help file.
Hello Terrax,
it's me again. I'm working with your Plugin a lot and most parts are working well. But I don't understand how the set variables of the DayNight-Cycles work in events.
I try to light the laterns, when the evening starts. For that I have a parallel event with two pages. Page 1 is active when it's 19 o'clock and above. It contains the Plugin Command "Light on 1", the second page is active when it's 6 clock and contains the plugin command "Light off 1". All light events have the "1" and the end and they have two pages aswell. One without switch and the other one with selfswitch D - the set killswitch. Both pages trigger a different graphic, so that I can see if the kill switch is working.
Well. The light effect does not work, when I have the "1" at the end of the note tag. But without it, the light glows all the time. Do you can help me with that? The demo is no help at this point.
I did that before and the screen was tinted, so the variables do work. I can alter this variable with an event. Only the light won't work.
The code you posted is from the demo and it didn't help me, when I put it in a parallel event.