• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[General] jass - baby steps

Status
Not open for further replies.
Level 21
Joined
Mar 29, 2020
Messages
1,237
hey there,

I'm starting to learn jass and just had a small question (couldn't find the answer with searching or in the tutorials...) - In terms of calling functions - what is the relationship between the different tabs in the trigger editor?
is it accurate that it's all like one long document (so I can only call functions that were defined in tabs higher up in the trigger section) and it depends on where it is (height-wise), or does it go chronologically (when I entered it)? does switching the order of the tabs affect this?

thanks!
 
Level 9
Joined
Mar 26, 2017
Messages
376
No, the functions are created before they are ran.

The only thing on which order has bearing is for GUI triggers, it generates Trigger Init calls that are put in order. But this is not for JASS.
 
Last edited:
Status
Not open for further replies.
Top