[REQ] Rotation Script

Post » Fri May 13, 2011 10:50 am

I'm trying to come up with a simple rotation script that I can attach to an item which will make it constantly rotate around a central object. In this case, I am wanting several crystals to rotate around a central shard. I've tried using the rotate function but haven't had any success. I also tried tweaking the script found http://cs.elderscrolls.com/constwiki/index.php/Rotating_an_object_around_another_object_with_a_script but kept getting errors when attempting to save it. Unfortunately, my scripting experience is limited so I'm kinda stuck at this point. Any assistance is greatly appreciated. Thanks!
User avatar
Nicole Mark
 
Posts: 3384
Joined: Wed Apr 25, 2007 7:33 pm

Post » Fri May 13, 2011 1:50 pm

I figured it out. Actually, it was deceptively simple - I was trying to make it too complicated. Here it is in case anyone else wants it:

====================================
scn 00ColdStorageRotationSCRIPT

begin gamemode

Rotate Z, 90
return

end

====================================
User avatar
Avril Churchill
 
Posts: 3455
Joined: Wed Aug 09, 2006 10:00 am


Return to IV - Oblivion