Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

'Label' & 'Jump to Label' events; what do they do?

what exactly do these events, 'jump to label', and 'label' do? the rightclick>>'whats this' doesnt explain anything. i've never even noticed these events until a few moments ago.  :crazy:
 
Jump to label will go to a certain point in the event processing that has a label with the name specified. Basically, you could use this to go to different "areas" of event. Hope I made sense. :thumb:
 
Let's see here. First of all, "Labelling helps skip through events somewhat easier. I've personally only used them while testing. Let's give an example -
@>Text -,-, Normal, Bottom
:          : Fdf
@>Text -,-, Normal, Bottom
:          : Fdf
@>Text -,-, Normal, Bottom
:          : Fdf
@>Text -,-, Normal, Bottom
:          : Fdf
@>Text -,-, Normal, Bottom
:          : Fdf
@>Text -,-, Normal, Bottom
:          : Fdf
@>Text -,-, Normal, Bottom
:          : Fdf
@>Text -,-, Normal, Bottom
:          : Here is a member's card for 400 Dollars

A little bit long, right? Well...

@>Text -,-, Normal, Bottom
:          : Fdf
@>Jump to label:lol
@>Text -,-, Normal, Bottom
:          : Fdf
@>Text -,-, Normal, Bottom
:          : Fdf
@>Text -,-, Normal, Bottom
:          : Fdf
@>Text -,-, Normal, Bottom
:          : Fdf
@>Text -,-, Normal, Bottom
:          : Fdf
@>Text -,-, Normal, Bottom
:          : Fdf
@>Label:lol
@>Text -,-, Normal, Bottom
:          : Here is a member's card for 400 Dollars

That would allow me to jump straight to the end of the text. You can name labels whatever you want, just as long as they correspond to the thing you want.
 
the only time i use it is when text choices like as in:

Show Choices:
Label:blah
Show Choices: Choice 1, Choice 2, Choice 3, More
When [Choice 1:]
Blah
When [Choice 2:]
Blah
When [Choice 3:]
Blah
When [More:]
Show Choices: Choice 4, Choice 5, Choice 6, Back
When [Choice 4:]
Blah
When [Choice 5:]
Blah
When [Choice 6:]
Blah
When [Back:]
Jump to label: blah

Thats the only time i use label and jump to label =D You might want to do this when you do a choice selection that requires more and back.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top