Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> 


———
Before you ask! Read! ;)

You must have 30+ Posts to create a topic here!

Thanks for reading!
———

> Event trigger labels
Tsukihime
post Jun 13 2012, 01:36 PM
Post #1


Level 25
Group Icon

Group: Revolutionary
Posts: 565
Type: None
RM Skill: Undisclosed
Rev Points: 25




Looking for someone to write this script. It is not complicated actually.

This script will allow you to setup events in such a way that the player can press a certain key to trigger the event, and then the event will jump to a specific label depending on which key was pressed.

For example, by default, the "confirm" key is used to trigger "action trigger" events through :C (or the Z key)
But what if instead of executing all of the commands, we only execute some of them?

An example setup would be like

CODE
#==================#
#Label: Z
"talk?"
#==================#
#Label: A
"steal?"
#==================#
#Label: S
"battle?"


Where different parts of the event are executed depending on which key you pressed.

Ideally, you would make use of labels because now you just say "go to label C if C is pressed" or "go to label A if A is pressed".

In fact, the implementation of this script may become really easy with the use of labels.
All you have to do is jump to the specific label based on the key you pressed and then execute it normally. You might not even need to mess around with even triggers!

You then just have to make sure that you break out of the event when you reach another label.

This post has been edited by Tsukihime: Jun 13 2012, 02:00 PM


__________________________
My Scripts
Go to the top of the page
 
+Quote Post
   
 
Start new topic
Replies
Tsukihime
post Jun 15 2012, 02:06 PM
Post #2


Level 25
Group Icon

Group: Revolutionary
Posts: 565
Type: None
RM Skill: Undisclosed
Rev Points: 25




As long as it doesn't conflict with existing usage lol
I'm not really sure how common the labels are being used.

Now I just need to find something to test this with.


__________________________
My Scripts
Go to the top of the page
 
+Quote Post
   



Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 19th June 2013 - 10:30 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker