I am having 2 problems using the Lantern add-on to the Ultra Lighting script. Both of these occur in a New Game.
First, I wanted to give the player a light without having to give an item, because I want this to look like it is a skill. My script call was
$game_player.give_light(torch)
However, this gives the following error message.
The second one comes after I have given an item to do this. I should perhaps mention that the player can walk behind my walls. The problem occurs whether I use an auto tile and a script to give it the equivalent of star setting or a B-E tile set to star to create the ceiling. As you can see from the next screen shot, the light covers the whole of the ceiling. (The ceiling is wide because this is a crypt, and so has thick walls.) Obviously the lower line of ceiling tiles is set to X, so it is not directly the star setting which is causing the problem.
Another way to illustrate this is to see what happens when the player walks under the ceiling, through a doorway. If I put a region on the tile over the door, the light spreads over all the ceiling tiles and I don't get any 'shaping' of the light. If I omit it on that tile, I get the shaping, but as I go through, the tile is illuminated.
What am I doing wrong?
Thanks.
First, I wanted to give the player a light without having to give an item, because I want this to look like it is a skill. My script call was
$game_player.give_light(torch)
However, this gives the following error message.
The second one comes after I have given an item to do this. I should perhaps mention that the player can walk behind my walls. The problem occurs whether I use an auto tile and a script to give it the equivalent of star setting or a B-E tile set to star to create the ceiling. As you can see from the next screen shot, the light covers the whole of the ceiling. (The ceiling is wide because this is a crypt, and so has thick walls.) Obviously the lower line of ceiling tiles is set to X, so it is not directly the star setting which is causing the problem.
Another way to illustrate this is to see what happens when the player walks under the ceiling, through a doorway. If I put a region on the tile over the door, the light spreads over all the ceiling tiles and I don't get any 'shaping' of the light. If I omit it on that tile, I get the shaping, but as I go through, the tile is illuminated.
What am I doing wrong?
Thanks.