Jump to content

Rotation script?


Shlomp

Recommended Posts

Greetings, comrades,

 

I need a script for my project; I think its simple, but I'm not very good in scripting...

 

There is a vertibird prop. And I want it to rotate. Ingame. Anytime. Its the prop, without the vertibird.

 

Any ideas?

 

Thanks.

Link to comment
Share on other sites

Sure, but I dunno how to script it. I need some advice < :

 

scn RotateScript

BEGIN onLoad
Rotate Z 30
END

 

Save this script as an object script and attach it to the object. You can attach it to an object by selecting this script in the "Script" field in the object dialog.

 

This one rotates an object around the Z axis (top-down axis) at 30 degrees a second.

Edited by Glenstorm
Link to comment
Share on other sites

Sure, but I dunno how to script it. I need some advice < :

 

scn RotateScript

BEGIN onLoad
Rotate Z 30
END

 

Save this script as an object script and attach it to the object. You can attach it to an object by selecting this script in the "Script" field in the object dialog.

 

This one rotates an object around the Z axis (top-down axis) at 30 degrees a second.

 

 

Working, thanks! :)

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...