Non-threaded

Forums » Advanced Editor Forum » Read Thread

Get help from the experts on variables, scripts, items, and other scary things.

[Answered] Script Firing Order

15 years ago
Link Scripts fire second right?

[Answered] Script Firing Order

15 years ago
Actually, variables too, to clarify.

OF THESE, which fires first and which fires last:

GLOBAL LINK SCRIPTS
LINK SCRIPTS
VARIABLE CHANGES ON LINKS WITHOUT SCRIPTING

[Answered] Script Firing Order

15 years ago
Oh man, alex told me this a long time ago, but my memory is fuzzy about it.

No doubt, global link scripts are first. they trump everything. But im honestly unsure if link scripts trump variable changes, you'd have test that out yourself. I do know for sure that after the 3 you listed above, global page script is next, and page script is the very last thing. Page scripts are executed at the very end of everything...

Hope that helps...

[Answered] Script Firing Order

15 years ago
Thanks Solo, so:

Global Link
Link or Variable
Link or Variable
Page Script

[Answered] Script Firing Order

15 years ago
Variables are before Global Links and Links.