[Burichan] [Gurochan] [Futaba] [Photon] [Uboachan] - [Home] [RSS Live Feed] [Manage]

[Return]
Posting mode: Reply
Leave these fields empty (spam trap):
Name
Link
Subject
Comment
File
Password (for post and file deletion and editing)

File: 1272997577378.jpg -(37.6 KiB, 335x378) Thumbnail displayed, click image for full size.
38486 No.2509   [Delete]   [Edit

Hay anons. Is anyone here well-versed in RPGMXP? Because I want to know if there's a script to call a common event by pressing a key.

Thanks :B

pic unrelated

>> No.2511   [Delete]   [Edit]

while you're at it also in 2003 for us retards

>> No.2512   [Delete]   [Edit]
File: 1273011416570.png -(16.1 KiB, 343x597) Thumbnail displayed, click image for full size.
16440

You can do it by events on XP, unless you want custom keys.

For both RPG Maker XP and VX, there are keys assigned to certain letters. Let me explain:
Here it shows 10 options. They show letter A, B, C, X, Y Z, L and R. Meaning you can have up to 8 different keys.
Then you assign each keyboard key to these letters.
In the original configuration, Enter, X and Spacebar are the "C key". Esc, X and 0 are "B", Shift and Z are "A". A is "X", S is "Y",D is "Z", Q is "l". W is "R".

What you can do is this: Only A, B and C are used by the game originaally, so you can use X, Y, Z, L and R freely. That means the keys A, S, D, Q and W are the ones you can use, if you keep the original RMXP configuration.

>> No.2513   [Delete]   [Edit]
File: 1273011644535.png -(11.6 KiB, 674x248) Thumbnail displayed, click image for full size.
11894

Here's how the event should look like.
The condition is that the key assigned to X is pressed. This means key A.
If key A is pressed, the common event will happen.

>> No.2514   [Delete]   [Edit]
File: 1273011982713.png -(9696 B, 303x459) Thumbnail displayed, click image for full size.
9696

There might be scripts that do it better and with other keys, but I prefer events~

For 2003, it's basically the same, except you do it with variables. First you have to choose a variable to be the one to store your keys. Then you choose the key's you'll be using; in the example, the variables to be set will be 10 to key 0, 11 to key 1, then 20 to key +, etc.

>> No.2515   [Delete]   [Edit]
File: 1273012286042.png -(8607 B, 558x387) Thumbnail displayed, click image for full size.
8607

In the event, you make a condition. The variable will be the pressed key: if you press key 9, for example, it means the keypress variable will be 19.
"If Variable Keypress is 19 (key 9 is pressed) then something will happen"

>> No.2516   [Delete]   [Edit]

And that's it for today's RPG Maker class.
If I didn't make something clear, feel free to ask.
Also, forgive me for my brazillian RPG Maker, it just makes it harder to explain. D:

>> No.2517   [Delete]   [Edit]

Thank you very much good sir/madam. <3

>> No.2518   [Delete]   [Edit]

>>2511

Same. I would like to know to. I attempted the Action Battle System and I can only attack with the select button. How do I make it so I have to press a specific button like "1,3 or 9".

>> No.2520   [Delete]   [Edit]

>>2518
those two are for 2003:

>>2514
>>2515

Following these instructions, if you want your character to attack when pressing 1, 3 and 9, you make 3 different conditions:
If variable (keypress) is 11 then (attack event)
^ This is keyboard key 1

If variable keypess is 13 then (attack event)
^ This is key 3

If variable keypess is 19 then (attack event)
^ Key 9

That's only for 2003 tho.



Delete Post [] Password
Report Post(s) to Staff