![]() |
|
Release Gate White Colourer - Printable Version +- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk) +-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html) +--- Forum: Expression 2 (https://teamscm.co.uk/forum-6.html) +--- Thread: Release Gate White Colourer (/thread-1972.html) |
Gate White Colourer - Sharp - 16-10-2016 Want to make your universe gate seem more alive? I placed a prop that lights up underneath the parts it enters the floor, and when the gate is active - it lights up! So here's the simple code: Code: @name gatewhitecolorer
@inputs Active Inbound [Colorme1 Colorme2 Colorme3 Colorme4]:entity
@trigger all
#All colors were mixed from the main
#color of the chevron in each state.
#Active White
if (Active == 1){
Colorme1:setColor(245,243,255)
Colorme2:setColor(245,243,255)
Colorme3:setColor(245,243,255)
Colorme4:setColor(245,243,255)
}
#Inactive White
else{
Colorme1:setColor(158,158,158)
Colorme2:setColor(158,158,158)
Colorme3:setColor(158,158,158)
Colorme4:setColor(158,158,158)
}RE: Gate White Colourer - JC2106 - 21-07-2017 why not just turn on the gates dynamic lights? |