#cycle between just 2 colors for nametags

1 messages · Page 1 of 1 (latest)

edgy sentinel
#

@marsh verge

marsh verge
#

thanks man

bitter lintel
# edgy sentinel

@marsh verge
Keep: event receiver, set player world ui text color, lerp

speed = delta time * multiplier (experiment to make slower/faster)
Lerp progress = absolute value(1 - (modulo((instance get lifetime * speed), 2))

Also lerp isnt the best in rgb space. If u want purely vibrant colors (no white or black mixed in) Use 2 "Color to HSV", put the 1st color in one, & the 2nd color in the other. Copy the "Hue" output from each into the start & end of the lerp, then put the lerp result into a "HSV to color" Hue input & set the color of world ui to that

edgy sentinel
#

Wdym by 2

bitter lintel
# edgy sentinel Wdym by 2

reply if want reply back, im only here cus last post i was on before turned phone off for work RRsmileF

by itself its "modulo(value, 2)" if thats wut u mean... Ez to just go from inner to outter parenthesis one at a time, its like step by step, which is y they exist-