Jump to content
Sign in to follow this  
lonequeso

Disable Player Movement

Recommended Posts

I need a way to disable/enable the player's ability to move via a script call. Wait commands won't work for what I'm trying to do.

 

 

Thanks!

  • Like 2

Share this post


Link to post
Share on other sites

Try this script

class Game_Player

	alias stop_switch_movable? movable?
	def movable?
		return false if $game_switches[10]
		stop_switch_movable?
	end
	
end

Just change the swtch at line 5

  • Like 2
  • Thanks 1

Share this post


Link to post
Share on other sites

9RWO0dm.png This thread is closed, due to being solved. If for some reason anybody would like to re-open this thread, just send me a PM or report the thread. (=

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted