class Game_Follower def actor $game_party.all_members[@member_index] end end class Game_Followers def initialize(leader) @visible = $data_system.opt_followers @gathering = false @data = [] @data.push(Game_Follower.new(0, leader)) (1...$game_party.max_battle_members).each do |index| @data.push(Game_Follower.new(index, @data[-1])) end end end class Game_Player def actor $data_actors[1] end end
class Game_Follower
def actor
$game_party.all_members[@member_index]
end
end
class Game_Followers
def initialize(leader)
@visible = $data_system.opt_followers
@gathering = false
@data = []
@data.push(Game_Follower.new(0, leader))
(1...$game_party.max_battle_members).each do |index|
@data.push(Game_Follower.new(index, @data[-1]))
end
end
end
class Game_Player
def actor
$data_actors[1]
end
end
可以改的地方有2個.
第13行的$game_party.max_battle_members改成1的話則只有1隊員跟隨在後(可以改成任意數字)
第21行的1則是領隊行走圖為數據庫1號角色的行走圖
|