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
Multiple Issues Help Change rotating angle?
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#2
RE: Change rotating angle?

Use this script:

SetMoveObjectStateExt(string& asName, float afState, float afAcc, float afMaxSpeed, float afSlowdownDist, bool abResetSpeed);


This means:

SeMoveObjectState("shelf_1", -1, 1, 1, 1, true);

Is normally 1 or 0, but try using -1 so it rotates in another direction.

If it doesn't work, go to the model editor and open the .ent file of the shelf. Go to OpenAmount and play with the values until it makes the appropiate effect-I'd reccomend -90, as it seems to be rotating the opposite direction.
Then, save it as ANOTHER .ENT in a folder in your entities folder. This folder should have the name of your story: When going to release it, put the entity in Yourstory<Entities.

Hope it helped! Smile

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
02-05-2013, 06:11 PM
Find


Messages In This Thread
Change rotating angle? - by Tiger - 02-05-2013, 05:41 PM
RE: Change rotating angle? - by The chaser - 02-05-2013, 06:11 PM
RE: Change rotating angle? - by Tiger - 02-05-2013, 07:25 PM
RE: Change rotating angle? - by The chaser - 02-05-2013, 07:47 PM
RE: Change rotating angle? - by Tiger - 02-05-2013, 07:56 PM
RE: Change rotating angle? - by The chaser - 02-05-2013, 08:01 PM
RE: Change rotating angle? - by Tiger - 02-05-2013, 08:06 PM



Users browsing this thread: 1 Guest(s)