• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Question About Triggers Half Red References

Status
Not open for further replies.
Level 30
Joined
Jul 26, 2008
Messages
1,575
Hi guys, I looked for an answer to this on the forum but could not find anything relevant.

Basically, I regularly come across triggers that are half red half white in the world editor because a reference to a unit is missing.

1727866894572.png

(Please ignore the blacked-out parts, they are not relevant).
As you can see, the references to units (in this trigger n602_0050) has become greyed out (which can be fixed by double clicking it). If trigger lines remain greyed out, then the white page of the trigger is half red half white, instead of being fully white.

I normally thought that if a trigger has that half red half white page next to its name, then the entire thing basically would not work. But I just played a map which ran fine even though it had these greyed out references to certain units. Was just curious what the go is with them. Do I need to go through all these maps and double click them to "un-grey" them, or If I leave them as they are, will they still work fine?
 
It really depends on what the disabled functions do in those triggers that you mentioned.
Since we know they are mostly missing references, it now depends on what they do with said references.
If the references are required for the other functions to work, then while you can save and play the map normally, unintended things might happen down the line. Which I'm afraid is not what you want.

Edit: From your screenshot, it simply means the function that handles the removal of those units from the game will not do its job because it's disabled due to missing reference.
 
Last edited:
It really depends on what the disabled functions do in those triggers that you mentioned.
Since we know they are mostly missing references, it now depends on what they do with said references.
If the references are required for the other functions to work, then while you can save and play the map normally, unintended things might happen down the line. Which I'm afraid is not what you want.
Okay, I will just go through them all and double click on everything greyed out. Thanks!
 
All of your GUI triggers are converted into code when you launch the map. So anything that is disabled in the Trigger Editor will simply be ignored when this conversion process takes place. Therefore, those two red Actions in your picture literally do not exist when it comes time to play the map.
 
Status
Not open for further replies.
Back
Top