You're right, I do have too many conditions. I did test to make sure that the code was being executed (by spawning various units at a point in the map.) I just removed it when I took the screenie for simplification purposes :) And in this case, the triggering unit is gateway, because it is becoming a warpgate. It's tripping the first event, "Unit - Any Unit is issued an order to Gateway - Transform to Warp Gate"
I'm trying to label buildings as they are constructed (going to make an introduction to Starcraft for noobs video), and labeling the warp gate is difficult. I need to destroy the "gateway" text before I can create the "warp gate" text", but I can't seem to do that through the variable in the picture. Advice please?
I'm trying to get tag text to follow a unit, like the way words hover over units in Nexus Word Wars.
For the life of me, I can't figure out how he got it tag text to move with a unit. I've tried attaching it to a unit's "attachment point", along with other build in functions, but that does nothing. I'm vaguely sure it was accomplished through a script, hence me posting it here. I could be wrong though.
0
@RandomNoExit: Go
Thanks! Yep, I just put the variable as a global, and then it magically starts working! Very appreciated!
Here's what my trigger editor looks like for archival purposes:
@SouLCarveRR: Go
You're right, I do have too many conditions. I did test to make sure that the code was being executed (by spawning various units at a point in the map.) I just removed it when I took the screenie for simplification purposes :) And in this case, the triggering unit is gateway, because it is becoming a warpgate. It's tripping the first event, "Unit - Any Unit is issued an order to Gateway - Transform to Warp Gate"
0
I'm trying to label buildings as they are constructed (going to make an introduction to Starcraft for noobs video), and labeling the warp gate is difficult. I need to destroy the "gateway" text before I can create the "warp gate" text", but I can't seem to do that through the variable in the picture. Advice please?
Thanks in advance!
0
@DuckyTheDuck: Go
PERFECT, thank you!
Apparently I just need to explore triggers more. Very appreciated!
I don't even know what scripting is, so xD.
0
I'm trying to get tag text to follow a unit, like the way words hover over units in Nexus Word Wars.
For the life of me, I can't figure out how he got it tag text to move with a unit. I've tried attaching it to a unit's "attachment point", along with other build in functions, but that does nothing. I'm vaguely sure it was accomplished through a script, hence me posting it here. I could be wrong though.
Thanks!