Chaos Project

RPG Maker => RPG Maker Scripts => Script Requests => Topic started by: Magic Pancake on June 25, 2012, 02:43:00 pm

Title: [XP] Multiple action keys
Post by: Magic Pancake on June 25, 2012, 02:43:00 pm
Hey there,

I`m in need of a little easy-peasy script:

I want an event to be activated with the use of multiple action keys. The event should be able to distinguish with which action key it has been activated. At the same time, the event should also be able to distinguish weather it has been activated via "Collision".

Example:

The player stands in front of the event and presses 'Enter'. The event responds 'Hello'. The player presses the key 'A'. The event responds 'goodbye'. The player runs against the event. The event responds 'Don't push me, idiot!'.

Please note that I especially do not want to solve this via eventing, I really need a script to achieve this.
Thanks in advance!
Title: Re: [XP] Multiple action keys
Post by: ForeverZer0 on June 25, 2012, 05:17:37 pm
http://forum.chaos-project.com/index.php/topic,6893.0.html

Maybe that will work for you.
Title: Re: [XP] Multiple action keys
Post by: Magic Pancake on June 26, 2012, 12:17:03 pm
I already tried to use that script, but it didn`t work (maybe I`m just to stupid for the setup...).

If I put
# Custom Trigger
# Input.trigger?(Input::C)

at the top of an event-page and put a message-command right underneath it, the event will reply as usual when pressing the enter-key. Same with autostart, it will just show the message immediately. How do I solve this?
Title: Re: [XP] Multiple action keys
Post by: ThallionDarkshine on June 26, 2012, 03:36:38 pm
You also have to use a script that lets you get input from other keys and check if either the regular key or the extra key is pressed.
Title: Re: [XP] Multiple action keys
Post by: Magic Pancake on June 28, 2012, 08:51:19 am
Anyone knows where to find this script or how it is named?
Title: Re: [XP] Multiple action keys
Post by: ThallionDarkshine on June 28, 2012, 11:14:09 am
glitchkey.com/scripts/kim_xpvx_1_00.html (http://glitchkey.com/scripts/kim_xpvx_1_00.html)