Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help [SOLVED] Rotate entity fixed amount of degrees
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#9
RE: Rotate entity fixed amount of degrees

Oh, right. I remember now. Yeah there are troubles using it above the max rotation. I guess that makes this not work. I think using that script would be the only way then.

I once made an entity that was continuously rotating in a loop. I used the script
PHP Code: (Select All)
RotatePropToSpeed("ts_vinyl_1"5.0f5.0f0.0f, -360.0f0.0ffalse""); 
And the object's settings looked like this:
Spoiler below!
[Image: rotate_entity.png]

It says on the page that the entity must be a StaticObject prop, but this worked fine for me using a MoveObject with the script.

Perhaps it gives you some ideas as to what to try out. I'm sure this is possible. Perhaps putting 120 in the places I put 360, and not have AutoMove on.

(This post was last modified: 03-28-2014, 08:13 PM by Mudbill.)
03-28-2014, 08:10 PM
Find


Messages In This Thread
RE: Rotate entity fixed amount of degrees - by Mudbill - 03-28-2014, 08:10 PM



Users browsing this thread: 2 Guest(s)