![]() |
Rotaion?
how do u rotat things?
i tryed this: PHP Code:
PHP Code:
|
Good question, Lol.
I don't think it works in Gs1, Only in Gs2 I think . . . |
Ya, GS2 only... and I believe it's in radians, not degrees.
pi*2=360 degrees |
You can easier get radians from degrees using the degtorad(int deg) command.
|
That doesnt answer the question tho.
To rotate like an image do: PHP Code:
|
Quote:
Well, this.rotate in GS1 or GS2 is only a variable holder an not any kind of parameter, or event. (I forget the proper name.) 2nd. Script How would random change anything? >_> |
Quote:
|
Quote:
|
Quote:
And thankyou contiga :D |
Yeah, 'this.rotate' is just a variable and won't affect the NPC much.
|
w8 a sec that script dosn't work x.x
|
Your grammar makes me nauseous.
|
PHP Code:
|
rotation = random(0, 2*pi) should work
|
ok thanks guys :D
|
Yeah, I know TServerPlayer's have the rotation variable...I think TServerNPC's do aswell.
So a "this.rotation = float;" should suffice. |
| All times are GMT +2. The time now is 03:27 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.