• Where to start with E2
    7 replies, posted
-snip-
[url]http://www.wiremod.com/forum/expression-tutorials/11041-beginners-guide-expression-2-a.html[/url] This one looks fairly basic to me.
:google: is your friend. Don't betray him. I'll write a tut up soon on facepunch.
[url]http://wiki.garrysmod.com/?title=E2[/url] This is a complete tutorial.
This is all you need to start with : [url]http://www.facepunch.com/showthread.php?t=952541[/url]
To make a button, and a screen, so that when you press button, the screen's value goes to 1337: [code]@name [whatever] @inputs button @outputs screen interval=10 if (button==1) {screen=1337} else {screen=0}[/code] i ripped that out of my head, might have an error, dunno :P I dont wanna be advertising, but take a look at the CD player i made. [url=http://www.garrysmod.org/downloads/?a=view&id=92871][img]http://www.garrysmod.org/img/?t=dll&id=92871[/img][/url] then take a look at the E2 chips. Just looking at them, makes you soon realize how it works :3: I made them from scratch. (i can tell it took a looong time to realize all that) I dont remember much about E2 because i haven't used it in like a year :P
[code]@name Put a Name Here Or I'll Slap You With A Rake @inputs Button @outputs Screen if (Button) { Screen = 1337 } else { Screen = 420 }[/code] And it's interval(10). But it wasn't needed here. Variables must be capitalized. </smartAsshole>
[QUOTE=lavacano;22581968][code]@name Put a Name Here Or I'll Slap You With A Rake @inputs Button @outputs Screen if (Button) { Screen = 1337 } else { Screen = 420 }[/code] And it's interval(10). But it wasn't needed here. Variables must be capitalized. </smartAsshole>[/QUOTE] yea, as i said, i might have errors in that, since its almost a year when i used e2 last time :P
Sorry, you need to Log In to post a reply to this thread.