Hello. I want to make this Chunder Wheel to rotate! Please, help me!
http://imgur.com/a/CulH1
The time parameter in RotateObjectBy/To doesn't work. It's there just for show. Like various other things. And a manual implementation of an incremental rotation on the server is likely to make the whole object stutter quite a lot. Especially where lag is present.
Quote from: SilviUDaciaLogan on Aug 12, 2017, 07:03 PMHello. I want to make this Chunder Wheel to rotate! Please, help me!
http://imgur.com/a/CulH1
If You Dff Is The Half Of It You Can Do It With Something Like That
First Delete It From CreateObject or Xml Becuz We Will Do It In ScriptLoad
function onScriptLoad()
{
CW <- 0;
CWIsRunning <- false;
ChunderWheel <- CreateObject( Enter Here ChunderWheel's Id, 0, Enter Vector, 255 ); \\ Like Original Createobject
}
rcoords <- [ "ChunderWheel.MoveTo(Vector(From Vector Here),Enter Speed Here);",
"ChunderWheel.RotateToEuler(Vector(To Vector Here),Enter Speed Here); CW=0; CWIsRunning=false; " ];
\\Information: When You Select The Speed 1 Second = 1000
function RunChunderWheel()
{
local fn = compilestring(rcoords[CW]);
CW++;
fn();
}
function onPlayerCommand( player, cmd, text )
{
if(cmd=="start")
{
if(CWIsRunning==true)
{
MessagePlayer( "[#FF0000]Error: ChunderWheel Is already Running. Type /cw Togoto There.", player );
}
else
{
CWIsRunning = true;
NewTimer("RunChunderWheel",Enter Speed Here,rcoords.len());
}
}
else if (cmd == "cw")
{
player.Pos= Vector(ChunderWheel.Pos.x+10,ChunderWheel.Pos.y+10,ChunderWheel.Pos.z);
}
}
By MahmoudTornado
what is OBJECT
AND FILE ?
CRETEAOBJECT ?????
CRETEAOBJECT ?????
CRETEAOBJECT ?????
CRETEAOBJECT ?????
u can't, u need it be 2 objects, the base and the wheel, if you have both it will work, else it will looks bad
Quote from: KrlozZ... on Sep 04, 2017, 02:27 AMu can't, u need it be 2 objects, the base and the wheel, if you have both it will work, else it will looks bad
Quote from: Mahmoud Tornado on Sep 02, 2017, 05:00 PMQuote from: SilviUDaciaLogan on Aug 12, 2017, 07:03 PMHello. I want to make this Chunder Wheel to rotate! Please, help me!
http://imgur.com/a/CulH1
If You Dff Is The Half Of It You Can Do It With Something Like That
:D