Staredit Network > Forums > SC2 Assistance > Topic: Setting button color
Setting button color
May 26 2010, 10:29 am
By: LooKe  

May 28 2010, 5:03 am Temp Post #21



There is a function called Custom Value of Unit.



None.

May 28 2010, 7:37 am LooKe Post #22



Alright, so here is the trigger I set to remove the unit:
remove bunker


The trigger works to set the color if there is a bunker in the area, but it doesn't change it back if there isn't a bunker in the area. Also, ever since I added these triggers the game experiences extreme lag because of how often it runs the 21 "any unit enters region" triggers. Is there a way I could fix this?



None.

May 28 2010, 5:33 pm Temp Post #23



I would have to see all the triggers together. As for the lag you could add conditions to the triggers to keep them from firing as often, not sure exactly what you should add without knowing when you need to change the button colour and when you don't under the event.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:59 am]
NudeRaider -- *is
[05:17 am]
NudeRaider -- despite all its flaws the sound design its fantastic
[10:29 pm]
Oh_Man -- homeworld 3 = massive disappointment
[2024-5-14. : 10:05 am]
Moose -- ya
[2024-5-14. : 5:23 am]
zsnakezz -- yes
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
[2024-5-12. : 8:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[2024-5-12. : 4:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
Please log in to shout.


Members Online: Roy