Page 1 of 1

Rotate a car without moving it

Posted: Tue Jun 01, 2021 6:24 pm
by PFQNiet
I'm using "fake" cars for a few things. These cars don't move in the conventional way but are teleported every tick for the duration of their effect.

I can't seem to rotate them though. Just setting orientation on them doesn't seem to have any effect. Is there a way to do this?

If not, I suppose I can make the car invisible and draw its graphics with rendering...

Re: Rotate a car without moving it

Posted: Tue Jun 01, 2021 10:58 pm
by DaveMcW

Code: Select all

/c game.player.selected.orientation = 0.1
That command works on real cars. You will have to figure out which prototype property you used that breaks it.

Re: Rotate a car without moving it

Posted: Wed Jun 02, 2021 1:13 pm
by PFQNiet
Huh. Must've done something wrong when I tried it before, because you're right it works just fine. Oops!