Easy Button Makeing Totorial And A Script

Furry Hell
100+ Posts
100+ Posts
Posts: 212
Joined: Sun Nov 21, 2010 4:56 am
Location: Approximately OVER 9000 Light Years away

Easy Button Makeing Totorial And A Script

Post by Furry Hell »

ok the script is for later right now this is easy button makeing totorial

-----------------------------------------------------------------------------------------------------------
Button Totorial

make a door

ent_setname it

after that

make 2 paintcans

grabent them to a postition you want them then e_freeze them BOTH or they will fall

ent_setname (1 of the buttons as open then the other as close)

memorize em

for the open button type this

ent_fire Open color "0 255 0"

we will do 1 button at a time btw


then after you add its color

do this

ent_fire Open addoutput "spawnflags 256"

that will enable playeruse

anways!

after u add its spawnflags


type this now

ent_fire Open addoutput "onplayeruse <name of your door>,setanimation,open"

replace the <> with whatever u named ur door

now then

you have the open button done

do the same thing with ur other button

BUT

change the color

ent_fire close color "255 0 0"

then

ent_fire close addoutput "spawnflags 256"

then this

ent_fire close addoutput "onplayeruse <name of door>,setanimation,close"

------------------------------------------------------------------------------------------------
and if you know how to use script do take this script and you know after that its my pbt portable button totorial it shows up in your console how to make a button


echo Button Totorial

echo make a door

echo ent_setname it

echo after that

echo make 2 paintcans

echo grabent them to a postition you want them then e_freeze them BOTH or they will fall

echo ent_setname (1 of the buttons as open then the other as close)

echo memorize em

echo for the open button type this

echo ent_fire Open color "0 255 0"

echo we will do 1 button at a time btw


echo then after you add its color

echo do this

echo ent_fire Open addoutput "spawnflags 256"

echo that will enable playeruse

echo anways!

echo after u add its spawnflags


echo type this now

echo ent_fire Open addoutput "onplayeruse <name of your door>,setanimation,open"

echo replace the <> with whatever u named ur door

echo now then

echo you have the open button done

echo do the same thing with ur other button

echo BUT

echo change the color

echo ent_fire close color "255 0 0"

echo then

echo ent_fire close addoutput "spawnflags 256"

echo then this

echo ent_fire close addoutput "onplayeruse <name of door>,setanimation,close"

echo Remember to put " " qutation after addoutput "onplayeruse name of door,setanimation,open" okay