Okay, so I'm having trouble getting one specific thing with this plugin to work correctly. There is a dark cave and there are two light sources, torches and explosive crystals. If the player walks up to a torch, it isn't lit, and lighting it makes it lit. This works perfectly with the 'Light on X' plugin command. However, the crystals are supposed to be glowing before you interact with them, and AFTER you interact with them they're supposed to be no longer glowing. For some reason, why I put a number in the note field, it assumes the light is off by default. Here is what the instructions say.
So the plugin knows that by default, something should be off. Does it not support something being on by default and then turning off?
Plugin: https://forums.rpgmakerweb.com/index.php?threads/terrax-lighting-system.49339/
I'm sure I'm just missing something, this plugin is a beast. Thanks in advance!
Code:
To turn on and off lightsources in the game, do the following:
Give the lightsource the normal def : Light 250 #FFFFFF and an extra number
so it becomes 'Light 250 #FFFFFF 1'
(If your using the optional brightness and direction place it after those (Light 250 #FFFFFF B50 D2 1)
To turn on this light use plugin command : 'Light on 1'.
The plugin command will also trigger SelfSwitch 'D' on the targeted light(s).
To turn off the light use plugin command : 'Light off 1'.
You can reset the switches each map with the option or manualy by
the plugin command 'Light switch reset'
You can also turn off lights with the kill-selfswitch defined in the parameters.
You can change the color of the lightsources that have a id. Use plugin call
'Light color 1 #FF0000'
So the plugin knows that by default, something should be off. Does it not support something being on by default and then turning off?
Plugin: https://forums.rpgmakerweb.com/index.php?threads/terrax-lighting-system.49339/
I'm sure I'm just missing something, this plugin is a beast. Thanks in advance!