• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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