Jass & gui

Status
Not open for further replies.
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