[RMVX ACE]
Posts
Pages:
1
Is there some script in VE Folllowers, or VE Core, or just some script in general that allows me to change the distance between followers with a variable? Thank you.
Most probably within the context of the `chase_preceding_character' function of `Game_Follower`.
What that looks like by default:
What that looks like by default:
class Game_Follower < Game_Character #-------------------------------------------------------------------------- # * Pursue Preceding Character #-------------------------------------------------------------------------- def chase_preceding_character unless moving? sx = distance_x_from(@preceding_character.x) sy = distance_y_from(@preceding_character.y) if sx != 0 && sy != 0 move_diagonal(sx > 0 ? 4 : 6, sy > 0 ? 8 : 2) elsif sx != 0 move_straight(sx > 0 ? 4 : 6) elsif sy != 0 move_straight(sy > 0 ? 8 : 2) end end end end
Pages:
1















