7-18-16, 01:51 AM
Ok so instead of making multiple threads I will be constantly updating this one.
Holograms:
Code:
@name <- Gives the E2 a name
@inputs #<- Gives the E2 an input and for those who don't know an input is something that recieves data
@outputs #<- Give the E2 an output for you to beable to send data to other wire items
@persist #<- Makes a global variable used for multiple statements
@trigger #<- Makes the E2 run through the code when an input of your choice is changed
# <- This is a way to make a comment. Anything in the comment doesn't get ran
#[
This is a multiline comment
so I can put comments on multiple lines
]#
A = 1 #This is a number. This can be used like algebra. A*1(Multiplication)A/1(Division)A^2(Exponents)
B = entity() #This is an entity. The entity() command calls
C = "string1" #This is a string. Its words and sometimes can be numbers with words or just numbers sometimes
if(first()){ #This is one of the 6 statements you can use
}
Holograms:
Code:
@name E2 tutorial
holoCreate(1) # Creates a hologram with the number inside the parentheses being the index
holoPos(1, entity():pos()+vec(0,0,50)) #Sets the holograms position to the E2 chips position + 50 units up. vec(X,Y,Z)
holoAng(1, ang(45,45,45)) #Sets the angle of the hologram with ang(Pitch, Yaw, Roll)
holoScale(1, vec(2,2,2)) #Sets the scale of the hologram vec(X,Y,Z)
holoColor(1, vec(255,0,0)) #Sets the color using RGB vec(R0-255,G0-255,B0-255)
holoCreate(2, entity():pos()+vec(0,0,50), vec(2,2,2), ang(45,45,45), vec(255,0,0)) #Creates hologram in order index, position, scale, angle, color
holoCreate(3, entity():pos()+vec(0,0,50), vec(2,2,2), ang(45,45,45)) #Creates hologram in order index, position, scale, angle
holoCreate(4, entity():pos()+vec(0,0,50), vec(2,2,2)) #Creates hologram in order index, position, scale
holoCreate(5, entity():pos()+vec(0,0,50)) #Creates hologram in order index, position
holoDelete(1) #Deletes holo with the given index