Constructs a 3D triangle shaped, flat plain object that is white and untextured by default.

Syntax Edit

void dbMakeObjectTriangle(int iObj, float X1, float Y1, float Z1, float X2, float Y2, float Z2, float X3, float Y3, float Z3)

int iObj is the object number, you need that number when you want to refer back to this object.
float X1, float Y1 and float Z1 is the point in the 3D space that you want begin draw the triangle on.
float X2, float Y2 and float Z2 is the position of the second of the triangle's edges.
float X3, float Y3 and float Z3 is the position of the third of the triangle's edges.

Examples Edit

dbMakeObjectTriangle(1, 0, 0, 0, 32, 32, 0, 32, 0, 0);

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.