[XP] Multiple action keys

Started by Magic Pancake, June 25, 2012, 02:43:00 pm

Previous topic - Next topic

Magic Pancake

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!

ForeverZer0

I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Magic Pancake

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?

ThallionDarkshine

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.

Magic Pancake

Anyone knows where to find this script or how it is named?