• 🏆 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!

what is GUI trigger? please tell me, i am just a noob..

Status
Not open for further replies.
Level 6
Joined
Apr 28, 2005
Messages
155
  • GotoLevel
    • Events
      • Player - Player 1 (Red) types a chat message containing -level as A substring
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Substring((Entered chat string), 1, 7)) Equal to -level
        • Then - Actions
          • Set current_level = (Integer((Substring((Entered chat string), 8, 9))))
        • Else - Actions
          • Do nothing
This is a trigger in GUI, Graphical User Interface.
 
Level 21
Joined
Aug 21, 2005
Messages
3,699
Like Ljusdahl said, it's the trigger like you probably make them in the trigger editor. What World Edit does is, when saving, compiling (converting) the GUI into Jass, the programming language of the triggerfunctions. Some people don't use GUI and just use jass without having to compile their triggers into jass because it already IS written in jass. Why do they write it in jass? because some things simply can't be done in GUI, and some things can be done better in jass than in gui.

Someone who never used WE but has played warcraft might understand a GUI trigger, because it's quite easy to read. Someone who has never seen jass before (or any other high level programming language) probably does not understand it.
 
Status
Not open for further replies.
Top