Support (Read Only) > Suggestions
Fading Door Tool
Tomcat:
SEt it to nocollide and set the alpha to 0
Myppl9:
Tomcat, some people arnt as experecned as you in the e2 range, and this seems like a good idea for thouse people :thumbsup:
DarkRise:
if you dont got enough space in a house etc for the door to rotate then you can use that so :thumbsup:
accelleon:
--- Code: ---@name e2 fading door
@inputs Fade
@persist E:entity
if(first()) {E = entity():isWeldedTo()}
if(Fade)
{
E:setAlpha(0)
E:propNotSolid(1)
}
if(!Fade)
{
E:setAlpha(255)
E:propNotSolid(0)
}
--- End code ---
problem solved?
now don't tell me you need to be experienced to copy code either -.-
Myppl9:
BUT BUT BUT
--- Quote from: accelleon on February 15, 2011, 01:28:30 PM ---
--- Code: ---@name e2 fading door
@inputs Fade
@persist E:entity
if(first()) {E = entity():isWeldedTo()}
if(Fade)
{
E:setAlpha(0)
E:propNotSolid(1)
}
if(!Fade)
{
E:setAlpha(255)
E:propNotSolid(0)
}
--- End code ---
problem solved?
now don't tell me you need to be experienced to copy code either -.-
--- End quote ---
Oh nvm
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version