Hi All,
I'm using the terrax lighting plugin and used a few youtube tutorials as a guide/basis to create a torch inventory item. It's intended to be an expendable item that will create some extra light in dark areas.
I have a common event to flip a switch "torch active" from off to on, and the torch item triggers the event. (the switch is set to off on the transfer event to ENTER the map, as well as to EXIT the map)
I have a parallel event on the map that sets two variables to the players X and Y coords
I have a parallel event on the map, a light event (light event 1), which uses the plugin command "light on 1" to activate itself, and a set event location (itself) X and Y based off the variables set in the first parallel event.
It works. Kindof. When the player uses the torch item, it activates a light (larger radius than the default player one, obviously) that follows the player around.
However , the location of the light event only gets updated every 3 or 4 seconds. If the player moves, they leave the light behind until they stop for a moment and wait for it to 'refresh' at which point the light appears on them as it should.
I've tried everything I can think of to get the light event to follow the player in real time - what am I missing?
Is there a better way to do this?
I'm using the terrax lighting plugin and used a few youtube tutorials as a guide/basis to create a torch inventory item. It's intended to be an expendable item that will create some extra light in dark areas.
I have a common event to flip a switch "torch active" from off to on, and the torch item triggers the event. (the switch is set to off on the transfer event to ENTER the map, as well as to EXIT the map)
I have a parallel event on the map that sets two variables to the players X and Y coords
I have a parallel event on the map, a light event (light event 1), which uses the plugin command "light on 1" to activate itself, and a set event location (itself) X and Y based off the variables set in the first parallel event.
It works. Kindof. When the player uses the torch item, it activates a light (larger radius than the default player one, obviously) that follows the player around.
However , the location of the light event only gets updated every 3 or 4 seconds. If the player moves, they leave the light behind until they stop for a moment and wait for it to 'refresh' at which point the light appears on them as it should.
I've tried everything I can think of to get the light event to follow the player in real time - what am I missing?
Is there a better way to do this?