Unit C change every X secs

Drazalon

New Member
Reaction score
3
How do i make a trigger that changes a units color to several types of colors? i want the unit to change its color every 5 secs and the colors are....
-blue
-black
-red
-yellow
-green
-(possibly if possible) white

+rep for a well written out trigger w/ no leaks
(Spammers= -Rep)
 

seph ir oth

Mod'n Dat News Jon
Reaction score
262
SPAM!

Jk, I'm gettin WE up, I'll make a trigger in a sec.

EDIT: Here's what I got, don't think you can do white:

Time - Every 5.00 seconds of game time
(Unit C is alive) Equal to True
Set RandomNumber = (Random integer number between 0 and 4)
If (RandomNumber Equal to 0) then do (Animation - Change No unit's vertex coloring to (0.00%, 0.00%, 0.00%) with 0.00% transparency) else do (If (RandomNumber Equal to 1) then do (Animation - Change No unit's vertex coloring to (0.00%, 0.00%, 100.00%) with 0.00% transparency) else do (If (RandomNumber Equal to 2) then do (Animation - Change No unit's vertex coloring to (100.00%, 0.00%, 0.00%) with...didn't fit, so here's the remaining colors:
100%, 100%, 0% and 0%, 100%, and 0%.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top