Khas Lighting [Flashlight]

Okay, I am using Khas awesome lighting script, and the flashlight will not turn off! I used the off switch and even removed the item that was using it and the light still remains on! Can anyone help me with this problem?


(The flashlight is an item and is ran by a common event with the light "switch")
Is your flash light activating code looking like that?

Code:
l = $game_map.lantern
l.change_owner($game_player)
h = "light"
l.set_graphic(h)
l.set_opacity(255,1)
l.show

I suppose yes, because torch objects turn off as soon as the event page that contain the note tag is off.


The above lantern I would deactivate with that:

Code:
l = $game_map.lantern
l.hide
Hey guys how do you change the flashlight range I know its only 150x150 but is there a way to change this?
You have to rescale the latern pictures to be larger, like 200x200. That is the maximum size that Khas recomends in his script.
You have to rescale the latern pictures to be larger, like 200x200. That is the maximum size that Khas recomends in his script.
Thanks is it the same with flashlight?
Moved to: RGSSx Script Support

Original thread: https://forums.rpgmakerweb.com/threads/khas-lighting-flashlight.70157/