Jump to content

Rotating static objects?


ErianDragonborn

Recommended Posts

Perhaps this cannot be done, but I think there shoul be a way...

 

For my mod, I need to change the angle of a static object with a script. The problem is that 'setangle' commands don't seem to work on static objects. The script fires, but the object doesn't move. Also, other static objects don't if I try with them.

I have also tried rotating various objects throughout Skyrim with the console commands. When I try to move things other than misc items, I get the respons: cannot be moved.

Can I rotate static objects with a script?

This is the script I have:

Scriptname RotateObject extends ObjectReference  

ObjectReference Property MyObject  Auto  

event OnActivate(ObjectReference akActionRef)
	MyObject.setAngle(180, 180, 180)
EndEvent
Link to comment
Share on other sites

  • Recently Browsing   0 members

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