Some labels questions.

● ARCHIVED · READ-ONLY
Started by CrazyCrab 4 posts View original ↗
  1. Hi everyone,

    I find labels really useful for dialogue options so the player can ask a question and then go back to the question selection and not have to talk to the NPC again, but I'm not sure about some things.

    - Are the labels local? (I'm not sure if thats what you would call them; By this I mean that only the event that has a ''label'' can access it)

    - Can you jump to labels that are on different pages of the same event somehow?

    Thanks!

    (Also, this is slightly off topic, but I noticed that some people really don't like labels; is there something wrong with them programming wise; ie lag etc?)
  2. 1) yes


    2) no


    3) not programming wise - the problem is that they need you (the programmer) to be careful with your logic, or they will break your sequences.


    Correctly used they are good - if you don't know how to use them, they can produce a lot of bugs.


    Basically, Label's are RM's equivalent of the "GOTO" command - and you can find dozens of rants on the internet why a good programmer should use gosub instead of goto, but for some cases there is no alternative...
  3. Great, thanks for the quick response.

    Feel free to close.
  4. I love labels. But yes, you have to know how to use them properly.


    This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.