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

Jass & gui

Status
Not open for further replies.
Level 29
Joined
Mar 10, 2009
Messages
5,016
I dont know if this is the right section for this kind of topic if not then please move it to the right one...

Anyway, I know that JASS is better than GUI & there 'MAYBE' many things JASS can do that GUI cannot... but the question is this...what are they?...can someone give examples?...

The non-JASS user like me can benefit of your answer...

2nd question...

How to solve the problem of 'Last created Unit' in GUI?, for example, 2 triggers run at the same time like this...

  • Trigger 1
  • Event
    • Time - Every 5 seconds of the game time
  • Actions
    • Unit - Create 1 Footman...blah blah blah...
    • Set - Footman = Last Created Unit
    • Unit - Make Footman Invulnerable
  • Trigger 2
  • Event
    • Time - Every 5 seconds of the game time
  • Actions
    • Unit - Create 1 Rifleman...blah blah blah...
    • Set - Rifleman = Last Created Unit
    • Unit - Move Rifleman to...blah...blah...
As for me, I can solve this by assigning a 'different' Events...but is there any other way?...
 
Status
Not open for further replies.
Top