YF Slippery Tiles follower issue

Hi guys.

I'm using Yanfly Engine Ace - Slippery Tiles v1.00 for moving on ice, which is nice. When you slide on the ice, you slide in one direction until you hit an obstacle.

However, this does not apply to rocks that you push onto the ice. Unfortunately, they only move one space and then stop. Like if they weren't on ice. To avoid this problem, I commented out class Game_Player < Game_Character and set it to class Game_Character < Game_CharacterBase. This solution works fine and I can push rocks on the ice with the same behaviour like if they were a game character.

unknown.png

However, if I have party followers, they go all wild on the ice. They move in random directions and get lost on the ice which is really clumsy. Any idea how this could be solved?

That's the script I'm using https://yanflychannel.wordpress.com/rmvxa/field-scripts/slippery-tiles/
You should not have changed the class.
The Boulder you are moving is an event so you just need to tell events how to slide.
Ruby:
class Game_Event < Game_Character

  #--------------------------------------------------------------------------
  # alias method: update
  #--------------------------------------------------------------------------
  alias game_event_update_st update
  def update
    game_event_update_st
    update_event_slippery
  end
 
  #--------------------------------------------------------------------------
  # new method: update_event_slippery
  #--------------------------------------------------------------------------
  def update_event_slippery
    return if $game_map.interpreter.running?
    return unless on_slippery_floor?
    return if moving?
    move_straight(@direction)
  end
 
  #--------------------------------------------------------------------------
  # new method: pattern
  #--------------------------------------------------------------------------
  def pattern
    return YEA::SLIPPERY_TILES::SLIDE_FRAME if slippery_pose?
    return @pattern
  end
end
@Roninator2 Thanks, bro. Now they slide like a charm. :LZSjoy:

Original thread: https://forums.rpgmakerweb.com/threads/yf-slippery-tiles-follower-issue.145508/