QUOTE (Night_Runner @ Feb 21 2012, 12:38 AM)

Let me know how this goes for you!
CODE
#==============================================================================
# ** XP: Night_Runner's Event Abides Hero Graphic Script.
#------------------------------------------------------------------------------
# History:
# Date Created: 21/Feb/2012
# Created for: Helskyth
# @> http://www.rpgrevolution.com/forums/index.php?showtopic=55426
#
# Description:
# This script allows the developer to set an event to follow a hero's
# graphic.
#
# How to Install:
# Copy this entire script. In your game editor select Tools >> Script
# Editor. Along the left hand side scroll to the bottom, right click on
# 'Main' and select 'Insert'. Past on the right.
#==============================================================================
#==============================================================================
# ** Customization
#==============================================================================
module NR_EventAbidesHeroGraphic
#---------------------------------------------------------------------------
Data = {} # DO NOT TOUCH
#---------------------------------------------------------------------------
# Format: Data[[map_id, event_id]] = hero_id
Data[[1, 5]] = 4 # Map 1, event 5 follows hero 4's graphic
end
#==============================================================================
# ** Game_Actor
#------------------------------------------------------------------------------
# Edited to have the actors match the window positions
#==============================================================================
class Game_Event
#--------------------------------------------------------------------------
# * Get Battle Screen X-Coordinate
#--------------------------------------------------------------------------
alias nr_eventAbidesHeroGraphic_refresh refresh unless $@
#--------------------------------------------------------------------------
# * Get Battle Screen X-Coordinate
#--------------------------------------------------------------------------
def refresh(*args, &block)
# Run the original refresh
nr_eventAbidesHeroGraphic_refresh(*args, &block)
# Check if this event abides by a hero's graphic
hero_id = NR_EventAbidesHeroGraphic::Data[[@map_id, @id]]
return if not hero_id.is_a?(Integer)
# Set the character name and hue
@character_name = $game_actors[hero_id].character_name
@character_hue = $game_actors[hero_id].character_hue
end
end
#==============================================================================
# ** End of Script.
#==============================================================================
I'll give the eventer's a chance to see if this can be done easily through events, otherwise I'll move this to the Script Requests

Ah, Night Runner, this would be the second time you've pulled my head back above the water. xD
If I'm understanding this script right, I'm adding the additional lines within the region of-
#---------------------------------------------------------------------------
# Format: Data[[map_id, event_id]] = hero_id
Data[[1, 5]] = 4 # Map 1, event 5 follows hero 4's graphic region,
end
- right under the Data, in order to make more event tiles match the graphics?
-edit-
nevermind, I jumped the gun and risked breaking it anyway xD
There is one thing I did find. The event runs on a conditional for its appearance, it was visible even when the conditions are not met, but since this is only a concern in Tavern or Inn instances, I fixed it with a parallel event process to to move the event to its position when required. So all is very well!

Thank you very much once again