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 Flying Monolith Script! - SOLVED
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#2
RE: Flying Monolith Script!

There was a time when I spun a vinyl record 'round and 'round, and to do so, I used the script "RotatePropToSpeed." Maybe that works for you.

I do think the entity will need to be a specific type though.

PHP Code: (Select All)
RotatePropToSpeed("ts_vinyl_1"5.0f5.0f0.0f, -360.0f0.0ffalse""); 

This is the script I used, but yours would be different. First is the name, but the two next floats (the 5.0f's) determine the accelleration and optimal speed. The three next floats are X Y and Z axes. Since I spun it like a vinyl, it would spin around the Y axis, but yours probably needs either X or Z. The boolean is whether the speed is reset at max (bit unsure what they mean) and the last string is an offset area (the point you want it to rotate around). If you leave it empty like I did, it will rotate around its center.

Also, it says on the page that the entity must be a StaticObject entity, but it worked fine for me with a MoveObject entity. But in the entity itself (in User Defined Variables), I had to add this:
[Image: yAARjcS.png]

(This post was last modified: 10-26-2014, 11:18 AM by Mudbill.)
10-26-2014, 11:14 AM
Find


Messages In This Thread
RE: Flying Monolith Script! - by Mudbill - 10-26-2014, 11:14 AM
RE: Flying Monolith Script! - by Darkfire - 10-26-2014, 07:54 PM
RE: Flying Monolith Script! - by MsHannerBananer - 10-26-2014, 08:13 PM
RE: Flying Monolith Script! - SOLVED - by Mudbill - 10-26-2014, 11:18 PM



Users browsing this thread: 1 Guest(s)