Jump to content
  • 0

Event editor (Label) ?


Question

Posted

 

 

I am sorry if my question seems to be stupid, in the editor of evenment what is the "Label ,Go to label" I do not understand / do not know are functionment, someone to enlighten me:100_pray::95_v:

2 answers to this question

Recommended Posts

  • 0
Posted

The Label and Go to Label event commands are a pair of commands that need each other to work correctly. The Label command creates a sort of markup on the next layer command where it is placed in the event. It is therefore possible to go to this mark whenever the user wishes, using the Go to Label command. Here's an example:

 

<> text: What do you want from me?
<> choices: your name, your age, nothing
<> If you choose "your name"
<> Go to Label "name"
<>
<> If you choose "your age"
<> Go to Label "your age"
<>
<> If you choose "nothing"
<> Label "exit"
<> Exit Event Processing
<>
<> Label "name"
<> text: My name is Ricky
<> Go to Label "exit"
<>
<> Label "your age"
<> text: I'm 15 years old
<> Go to Label "exit"
<>

Although the above example is simple, it shows how you can basically use the Label command. These commands are often used in place of the cycle, an event command that, while in use, prevents other events from being executed until it is finished by repeating the commands in its layer. The label may have a similar purpose.

×
×
  • Create New...