Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-01-2006, 01:35 AM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
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?
Reply With Quote
  #2  
Old 03-01-2006, 02:07 AM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
So uh, how do we help you without knowing how you are doing it?
Reply With Quote
  #3  
Old 03-01-2006, 03:58 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
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);

Reply With Quote
  #4  
Old 03-01-2006, 11:05 AM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
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
Reply With Quote
  #5  
Old 03-01-2006, 03:20 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
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
Hence the reason why posting your relevant code when asking for help on a problem is best.
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:58 PM.


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