Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   New Scripting Engine (GS2) (https://forums.graalonline.com/forums/forumdisplay.php?f=153)
-   -   TShowImg Rotation? (https://forums.graalonline.com/forums/showthread.php?t=64454)

projectigi 03-01-2006 01:35 AM

TShowImg Rotation?
 
Hi,

i tried to set a rotation to a TShowImg Object (ShowImg aka findimg(xxx))
but that dont seems to work =/
any ideas?

Rick 03-01-2006 02:07 AM

So uh, how do we help you without knowing how you are doing it?

Admins 03-01-2006 03:58 AM

Yes it's hard to help without more information. This example is rotating the image by 180 degrees (pi):
PHP Code:

with (findimg(200)) {
  
rotation degtorad(180);



projectigi 03-01-2006 11:05 AM

GraalScript: Function degtorad not found at line 21 of parkedcar in script of localnpc_coronia_earth_32032341_0 (in level coronia_earth_b01.nw at pos (32.5, 23))

@degtorad

uhm i found out why rotation didnt work haha i accidently wrote
//#CLIENTSIDE1
instead of
//#CLIENTSIDE
x_x

ApothiX 03-01-2006 03:20 PM

Quote:

Originally Posted by projectigi
GraalScript: Function degtorad not found at line 21 of parkedcar in script of localnpc_coronia_earth_32032341_0 (in level coronia_earth_b01.nw at pos (32.5, 23))

@degtorad

uhm i found out why rotation didnt work haha i accidently wrote
//#CLIENTSIDE1
instead of
//#CLIENTSIDE
x_x

Hence the reason why posting your relevant code when asking for help on a problem is best.


All times are GMT +2. The time now is 09:46 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.