Toggling Terrax Lighting on Player

Hi Everyone,

I'm having a bit of trouble figuring out how to toggle the terrax lighting on a player instead of a light source like a lamp or torch. I've found lots of tutorials on how to toggle lights on an event that isn't the player, but nothing on the player itself.

Basically, there's a point in the game where the lights in the house go out, and at that point, I want to flip a switch that would turn the terrax lighting plugin on to give the player that light radius. I've created an event in the scene to set the light like the help file specifies, but it basically ignores the logic in the event and automatically activates the plugin.

I've attached screenshots of the event that calls the switch and the lighting event.

Any help you can provide is much appreciated.

Thanks!
I assume you mean the room is darkening no matter what. That's because any event on the map with a light source note tag set will activate the plugin's effects, regardless of any logic. What you need to do is add a tint plugin command to the very top of your autorun event:

Tint set #ffffff

Which basically means no darkening at all, so the lights will be on. Then , when you want the lights to go out, use:

Tint set #000000

(Or however dark you want it to be, like #888888 for partial darkness, etc)
I assume you mean the room is darkening no matter what. That's because any event on the map with a light source note tag set will activate the plugin's effects, regardless of any logic. What you need to do is add a tint plugin command to the very top of your autorun event:

Tint set #ffffff

Which basically means no darkening at all, so the lights will be on. Then , when you want the lights to go out, use:

Tint set #000000

(Or however dark you want it to be, like #888888 for partial darkness, etc)

That worked! Thanks!
I assume you mean the room is darkening no matter what. That's because any event on the map with a light source note tag set will activate the plugin's effects, regardless of any logic. What you need to do is add a tint plugin command to the very top of your autorun event:

Tint set #ffffff

Which basically means no darkening at all, so the lights will be on. Then , when you want the lights to go out, use:

Tint set #000000

(Or however dark you want it to be, like #888888 for partial darkness, etc)
I'm having toubles with Tint set commands, it just doesn't toggle even though I've already set it to the top of my autorun event. Please advise

@Mouz_exe , please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.


I'm closing this thread.

Original thread: https://forums.rpgmakerweb.com/threads/toggling-terrax-lighting-on-player.108506/