Page 1 of 1

Rotating Platforms

Posted: February 24th, 2006, 12:54 am
by Nightmare
I'm trying to get two spinning platforms to orbit around a pillar all in a clockwise motion like this:


Image

Can any of you guys help me out with how to do it and the scripting?

Posted: February 24th, 2006, 5:51 pm
by Drofder2004
Select both the circle platforms and make them script_brushmodels.

Code: Select all

main()
{
thread platforms();
}

platforms()
{
platforms = getent("platforms","targetname");

while(1)
{
platforms rotateto ((0, 0, 360), 1);
}
}
Try that.

Posted: February 24th, 2006, 9:32 pm
by Nightmare
Ok, I will try that.