speedX = 0;
speedY = 100;
speedZ = 0;
obj = 0;
function onInit(objID)
sky.lprint("LUA: Script Active!");
obj = objID;
end
function onUpdate( timeDelta )
entity.turn(obj, speedX * timeDelta, speedY * timeDelta, speedZ * timeDelta);
end
Users browsing this forum: Google [Bot] and 2 guests