tip: in lite-c if you pass a varible or one component of vec instead of a complete vector(i.e camera.x,my.x, my.skill30) variables following this variable are considered as y and z values of that vector you meant.

i.e if you use camera.x lite-c gets the camrea.y and z automatically.

if you use skills it will use following skills as vector's component.
i.e:

VECTOR temp_vec;
temp_vec.x = 10;
temp_vec.y = 12;
temp_vec.z = 35;
vec_set(my.skill45,temp_vec);
//lines above will make your skill45 10, skill46 12 and skill47 35.

---

in same way this sometimes result in diffrent sutiations.
like panels only have pos_x and pos_y, there is no z pos.

if you call vec_set(panel1.pos_x,panel2.pos_x);
it will set pos_x and pos_y correctly, but it will also make panel1's flags same as panel2. Because in PANEL struct var pos_x and var pos_y is followed by long flags. Thus vec_set gets it as third(z) component of vector and also sets it.

Last edited by Quadraxas; 12/15/09 22:49.

3333333333