• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[General] jass - baby steps

Status
Not open for further replies.
Level 25
Joined
Mar 29, 2020
Messages
1,466
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 10
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