Adding Armor to a unit permanently in Jass

Status
Not open for further replies.
Like I said in your other post, anything you can do in GUI (the basic Trigger Editor) you can also do in Jass. The Trigger Editor is a graphical interface that layers on top of the Jass code, allowing you to write Jass code with the use of buttons/icons/drop-down menus/etc. Simply put, it hides the code behind an easy to understand and easy to use interface. For new users and those unfamiliar with coding this is much easier to work with than writing the code yourself.

With that in mind, here's how you can find the answer to your questions through the trigger editor:

example.png


The Trigger Editor provides a Search for text feature which will help you find anything you need. There's no need to ask us if you can adjust a unit's armor when the editor already has the answer. Then you simply convert your trigger to custom text (code) and look for the function you wanted. The names are pretty self-explanatory. This shows us that our GUI trigger was actually Jass code the entire time!

Events/Conditions/Actions are all considered functions.
 
Last edited:
Status
Not open for further replies.
Back
Top