I think I'm gonna need another caterpillar script. A simple one, that allows party members to follow the player everywhere he goes, the party members should appear and disappear by using the Change Party event command.
I don't want this caterpillar script, because it has two bad glitches, so don't bother posting it:
I don't want this caterpillar script, because it has two bad glitches, so don't bother posting it:
Code:
# [email=fukuyama@alles.or.jp]fukuyama@alles.or.jp[/email] #
#=====================================================================#
#INSTRUCTIONS#
#=====================================================================#
# - Switch setting for transparent state #
# When it is true, switch control is done #
#----------------------------------------- #
#To use this script, the below line must set to true #
#=====================================================================#
TRAIN_ACTOR_TRANSPARENT_SWITCH = true
#=====================================================================#
# - Switch number for transparent state #
# When the switch of this number is ON, it becomes transparent #
#----------------------------------------- #
# Set the Switch number, wich determines wether the script is used. #
#=====================================================================#
TRAIN_ACTOR_TRANSPARENT_SWITCHES_INDEX = 20
#=====================================================================#
# constant #
#Input::DOWN = 2 #
#Input::LEFT = 4 #
#Input::RIGHT = 6 #
#Input::UP = 8 #
#----------------------------------------- #
#Creating new input contstants, should not be modified. #
#=====================================================================#
DOWN_LEFT = 1
DOWN_RIGHT = 3
UP_LEFT = 7
UP_RIGHT = 9
JUMP = 5
#=====================================================================#
#---------------------------------------------
# *Game_Party_Actor Class
#---------------------------------------------
class Game_Party_Actor < Game_Character
def initialize
super()
@through = true
end
def setup(actor)
# Setting the file name and hue of the character
if actor != nil
@character_name = actor.character_name
@character_hue = actor.character_hue
else
@character_name = ""
@character_hue = 0
end
# Initializing opacity and synthetic method
@opacity = 255
@blend_type = 0
end
def screen_z(height = 0)
if $game_player.x == @x and $game_player.y == @y
return $game_player.screen_z(height) - 1
end
super(height)
end
#--------------------------------------------------------------------------
# â—