Victor Lighting - Lantern on wrong actor

● ARCHIVED · READ-ONLY
Started by Napoleon 2 posts View original ↗
  1. http://s4.postimg.org/r39iugevh/image.png

    map notetag:

    <actor lantern 1: 255>The lantern's direction adjusts properly to the player (first one in party). But the lantern-light itself is positioned on the last party member regardless of the actor id that I put in the map-note.

    I tried changing the value 1 to 0, -1, 2, 3, 4 respectively and it did change the lanterns direction but not it's position. I probably made a configuration error somewhere but I didn't have any configuration options in the script itself that I can mess up.

    # <actor lantern i: o># <event lantern i: o># <vehicle lantern i: o># Call a lantern on the target character, lanterns are effets that# lights the front of the character# i : actor index, event id or (0: boat, 1: ship, 2: airship)# <<<<<<<<<<<<<<<<<<<<<<<<# o : light opacity (0-255)so index 1 = ship. But how do I assign it to the player if those are reserved for vehicles?
  2. Lemony fixed it for me (I now believe that this is a bug):

    Code:
    # For some reason the lantern is put on the last follower but it's direction is# aligned to the player. And the help in the header:# "actor index, event id or (0: boat, 1: ship, 2: airship)"# makes no sense... Because now you can't assign it to events 0-2...#==============================================================================# ** Game_LightEffect#------------------------------------------------------------------------------#  This class handles the light sprite data#==============================================================================class Game_LightBitmap    def set_target    if @light.info.keys.include?(:actor)      n = @light.info[:actor] == 0 ? 0 : @light.info[:actor] - 1 # <<<< changed line      target = $game_map.actors[n] # <<<< changed line    elsif @light.info.keys.include?(:event)      target = $game_map.events[@light.info[:event]]    elsif @light.info.keys.include?(:vehicle)      target = $game_map.vehicles[@light.info[:vehicle]]    else      target = @light.info    end    target  endend