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!
Is it possible to write comments inside your triggers (where the events, conditions, and actions are) besides the box at the top of the trigger? Maybe with a custom script? Thank you for any help.
You can whrite comments in the actions.
When you click New Action its the second option
For Event and Conditions you can't well most triggers dont have many Events and Conditions so use the big comment for them or make a comment before teh actions
Comments
Events
Unit - A unit enters Region
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
-------- The event is that a unit enters region --------
-------- The condition is that the triggering unit is a hero --------
-------- The next action makes a unit blah blah --------
Unit - Create 1 Footman for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
-------- The previous action made a unit blah blah --------
Edit// If you still cant find it download a random gui spell from the spell section.
Go to File -> Preferences and select the tab "Text Colors". There you can change the color of comments (and any other trigger categories if you'd like).
This makes them stand out from the rest of the code as well as make them easier to read.
I find those different colors highly interesting and have been using them for a long time to differentiate them. Makes it easier for me to find what I'm looking for (though I rarely use GUI these days).
(Note that only you can see that color change, so don't go crazy with comments because not many people actually use different colors ).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.