• 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.

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