SRL Archive - Help

Global Label?


Illkillutill

2012-02-04 19:48:43

Is there a way to make a label without being inside of a procedure or function?

x[Warrior]x3500

2012-02-04 19:52:39

you can make a label global. but if you actually want to visualize it, it must be in a procedure/main loop using .create();

Illkillutill

2012-02-04 19:55:40

Well when I try using a label, and use GoTo to jump from one section to the next, I just get an Unknown identifier error…

Underneath global variables
label 
Reset;

in a procedure
GoTo Reset;

in the main procedure of the script
Reset:

x[Warrior]x3500

2012-02-04 19:59:41

oh sry, im thinking TLabels

rarely do i use actual Labels. sry i wouldnt know

EDIT: why would u need a label in your main(). just put watever is in the label into a procedure, and whenever u need to access that, use the procedure