The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: choboru on December 25, 2007, 03:42:01 PM

Title: Player Control Restriction...
Post by: choboru on December 25, 2007, 03:42:01 PM
Is there any way to restrict player control? What I'm trying to do is have the player asleep in bed and then have a small faerie cue in and wake him up. While the faerie is making it's way to the player, I need it to render the keyboard keys useless. The only time the player should use the keyboard is to press the enter key for text boxes. So, my question: is there a flag or switch that I could use to turn player control off and on when I need it for cutscenes and such?

Thanks,
~Choboru
Title: Re: Player Control Restriction...
Post by: &&&&&&&&&&&&& on December 25, 2007, 03:50:10 PM
Use preceed with movement.

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi109.photobucket.com%2Falbums%2Fn52%2Fdreamslayer7%2FCShlp1.jpg&hash=2a6bcc977f6dcf4097746aaf751207da2a04dc65)

Also make sure it's on Auto-Start.

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi109.photobucket.com%2Falbums%2Fn52%2Fdreamslayer7%2FCShlp2-1.jpg&hash=6d2ded6d2ace2ca28304672a03776c1fda6c4eaa)
Title: Re: Player Control Restriction...
Post by: choboru on December 25, 2007, 03:53:11 PM
Oh, I kind of forgot to mention that I am using RMXP.  :-\ I remember being able to use it when I used RM2k3 years ago, but now I just can't figure it out.
Title: Re: Player Control Restriction...
Post by: &&&&&&&&&&&&& on December 26, 2007, 04:56:41 AM
You do the same thing in XP.
Title: Re: Player Control Restriction...
Post by: modern algebra on January 06, 2008, 01:36:29 PM
Yeah, Wait for Move's completion is the command in RMXP. The event should also be on autorun.
Title: Re: Player Control Restriction...
Post by: Kokowam on January 06, 2008, 01:47:24 PM
When it comes to events, don't fret. It applies for both 2k3 and XP. Except for that one time when I heard about how 2k3 has button input, but don't mind that.
Title: Re: Player Control Restriction...
Post by: modern algebra on January 06, 2008, 01:48:24 PM
XP has button input too mooface. Key Input Processing. It assigns the button pressed to a variable.
Title: Re: Player Control Restriction...
Post by: Falcon on January 06, 2008, 01:50:06 PM
This doesn't require a script, so I'm sending this over to RPG Maker Help.

Just listen to modern and moo, they know their way around events ;)
Title: Re: Player Control Restriction...
Post by: Brady on January 06, 2008, 02:59:07 PM
Why dopn't you just set up an auto-start event to take place after the hero is set to fall asleep.  just get the event to control everything and make it move the fairy, make message boxes and such.  that will stop movement, stop the menu and everything, but still allow hitting enter for text boxes / choices.  i use all my events like that and it works fine