Terrax Lighting - Plugin Calls and conditional switches not working

Hello, thanks for stopping by-

I've been trying to, with much frustration, make a simple flashlight on then off event using this system for a few hours following the plugin help. But it's just not working.

My command is: "Flashlight 8 12 #634b2d B70 2" with the 2 at the end of course being the conditional switch label. When I'm ready for it, I want it to turn on by calling "Light on 2" then turn off when I'm done with it by "Light off 2".

But if I put this in an event's comment field, the conditionswitch number at the end doesn't seem to register as relevant, the screen goes darkened and then the flashlight is on 24/7, even if I try to turn it off with the command "Light off 2".

On the other hand, if I try to whip something up with a plugin command in an event or common event, (i.e. Plugin Command: "Flashlight 8 12 #634b2d B70 2" then the "Light on 2" command) the plugin commands just don't function. It never turns on. I've also tried several variants of this command, from adding "on" to make it "Flashlight on 8 12 etc" to trying "Flashlight on 2" instead of just "Light on 2". I've even tried working with self switch D, the kill switch, and using/not using parallel process on the event version to no avail so far.

Does anyone have any advice or instructions for this sort of event that worked for them? I found Drifty's tutorial, but that isn't really the flashlight event I wanted and it's for an older version without flashlight command.

1.5.1 Version I'm using: https://raw.githubusercontent.com/Terraxz/TerraxLighting/master/TerraxLighting.js

Plugin List in Order (Not much atm):
Community_Basic
MadeWithMV
AltWindowFrame
YEP_CoreEngine
YEP_GridFreeDoodads
BattleResultsPopup
MOG_BattleHUD
MOG_BattleCamera
TinyGetInfoWnd
MOG_DizzyEffect
TerraxLighting
GALV_LayerGraphics
OrangeMapshot
YEP_ItemCore

If I place Terrax below layer graphics and mapshot, it will make an error on startup.
So far moving terrax around on my plugin list, or rearranging the list, has fixed all my terrax problems.
When you issue the plugin command and it doesn't work, go to the Console and see if there are any messages there. There could be warnings that don't cause the game to crash.

Something else to try is to put that plugin on its own into a brand new project and make sure it works there.

I find if the game behaves as if the plugin is not installed at all, the .js file might be named incorrectly. Or it could be that another plugin is overwriting the same functions rather than aliasing them, so you get parts of things that work, and parts that don't, but no errors.
Thank both of you for the replies! 🙂

Neither the always-on comment version or the event version that doesn't turn on seem to make any errors appear in the console.

Trying in a new project, it doesn't seem to be working either, it has the same two issues. Here I noticed, though, that putting the same line both in the comment AND inside a plugin command can somehow bring up a different flashlight graphic on top of that event while the player's just stays on. (?)

Putting it at the top of the plugin list instead also seems to have no effect.

I think, the truth is I could just be doing it wrong? Maybe something very simple that slipped past me. But then, I don't know what it is that I'm doing wrong. I tried my best to follow the plugin instructions: The biggest mistakes I think I may be making are in the evented version, maybe specific self switches and having parallel process on are really important or something the help doesn't mention? Yet, even in a very simple action button event, plugin commands fail? Maybe something is wrong with this line itself: "Flashlight 8 12 #634b2d B70 2"? I can try to work with the Light command instead for awhile and see if there's different results.
hopefully the bump rules are 24h?
hopefully the bump rules are 24h?
i have the same problem, i cant get the plugin commands to work either.

its a shame cause the lighting can get really good with terrax but without being able to control its unusable
hopefully the bump rules are 24h?

No, 72.

https://forums.rpgmakerweb.com/index.php?threads/forum-rules.90/
#4a

My apologies for just guessing, and bumping too soon. In the future I'll leave it alone for at least 72 then.

Original thread: https://forums.rpgmakerweb.com/threads/terrax-lighting-plugin-calls-and-conditional-switches-not-working.112806/