PDA

View Full Version : TShowImg Rotation?


projectigi
03-01-2006, 01:35 AM
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):

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
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.