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.
[12:34 pm]
NudeRaider -- curiosity kills the cat!
[06:18 am]
Sylph-Of-Space -- No complaints here, i'm just curious!
[11:05 pm]
Ultraviolet -- :wob:
[2024-5-18. : 3:55 pm]
Zoan -- :wob:
[2024-5-18. : 10:34 am]
NudeRaider -- SEN doesn't rely on spammers initiate its sleep cycle. It hat fully automated rest and clean-up phases. Please understand that this is necessary for the smooth operation of the site. Thank you.
[2024-5-18. : 3:45 am]
Sylph-Of-Space -- Does the shoutbox get disabled when there's spammers?
[2024-5-17. : 6:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[2024-5-17. : 5:41 am]
Ultraviolet -- 🤔 so inf is in you?
[2024-5-17. : 4:57 am]
O)FaRTy1billion[MM] -- my name is mud
[2024-5-17. : 4:35 am]
Ultraviolet -- mud, meet my friend, the stick
Please log in to shout.


Members Online: Roy