• 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.

Question About Triggers Half Red References

Level 28
Joined
Jul 26, 2008
Messages
1,491
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?
 

Rheiko

Spell Reviewer
Level 26
Joined
Aug 27, 2013
Messages
4,214
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:
Level 28
Joined
Jul 26, 2008
Messages
1,491
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!
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,871
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.
 
Top