Quote:
Originally Posted by Twinny
I did this to create my rotating space ship (on Litheria)
PHP Code:
//#CLIENTSIDE
function onCreated()
{
showimg(201, "", this.x, this.y);
findimg(201).shape = "test.3ds";
findimg(201).zoom = 0.03;
setTimer(0.05);
this.chat = "wee";
}
function onTimeout()
{
this.yrot += 0.05;
this.zrot += 0.05;
findimg(201).eulerrotation = {0,this.yrot,this.zrot};
setTimer(0.05);
}
|
I can't say I like how you're mixing GS1 (showimg()) format with GS2 format

I would do this for the creation part:
PHP Code:
with (findimg(201)) {
x = thiso.x;
y = thiso.y;
shape = "test.3ds";
zoom = 0.03;
}
Your method may take less space but you really shouldn't mix it up like that. Your method also probably takes more processing power, not that its noticeable.