Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-20-2001, 08:25 PM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
finding width/height of images

Couldnt you record the current image of the npc then set a new one, get the width and height of the npc, record those, then reset the image to the old one and use the recorded width and height when using showimg?
Reply With Quote
  #2  
Old 12-20-2001, 10:03 PM
ShockwaveISTHEBEST ShockwaveISTHEBEST is offline
Registered User
Join Date: Nov 2001
Location: never never land
Posts: 208
ShockwaveISTHEBEST is on a distinguished road
Send a message via AIM to ShockwaveISTHEBEST Send a message via Yahoo to ShockwaveISTHEBEST
I have no clue
__________________
[img]http://rick.*******ers.net/ss/users/jerrytyrrell64/Shockwave%20Sig%2003.jpg[/img]
Reply With Quote
  #3  
Old 12-20-2001, 11:15 PM
Xaviar Xaviar is offline
Registered User
Join Date: Aug 2001
Location: Fairyland
Posts: 463
Xaviar is on a distinguished road
Send a message via ICQ to Xaviar Send a message via AIM to Xaviar
Re: finding width/height of images

Quote:
Originally posted by btedji
Couldnt you record the current image of the npc then set a new one, get the width and height of the npc, record those, then reset the image to the old one and use the recorded width and height when using showimg?
I don't think so, but elaborate, maybe theres a different way to do whatever you want...
__________________
One by one, the penguins steal my sanity.

*cookie for Xaviar* --Originally posted by Tyhm

--Xaviar

A m e r i c a
Reply With Quote
  #4  
Old 12-20-2001, 11:56 PM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
yeah there actually is...

I was thinking about that the other day.
maybe there is. i think so. man if only i could remember and i wasn't in cisco finals and i hadn't gone to sleep at 1:30 last night...that sucks. there is a way to do it tho. i'll figure it out than post it.
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #5  
Old 12-21-2001, 12:00 AM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
I'd think so, although it would only work clientside.
__________________

Reply With Quote
  #6  
Old 12-21-2001, 12:01 AM
Xaviar Xaviar is offline
Registered User
Join Date: Aug 2001
Location: Fairyland
Posts: 463
Xaviar is on a distinguished road
Send a message via ICQ to Xaviar Send a message via AIM to Xaviar
Re: yeah there actually is...

Quote:
Originally posted by Saga2001
I was thinking about that the other day.
maybe there is. i think so. man if only i could remember and i wasn't in cisco finals and i hadn't gone to sleep at 1:30 last night...that sucks. there is a way to do it tho. i'll figure it out than post it.
Am I missing something? I don't think theres a way to get the height/width of an image, short of setting it, and keeping track of what you set it to...And that doesn't really do you much good...Maybe testing onwall on a non-p2p server (so you don't need setshape), but then all the surrounding tiles can't be onwall...
__________________
One by one, the penguins steal my sanity.

*cookie for Xaviar* --Originally posted by Tyhm

--Xaviar

A m e r i c a
Reply With Quote
  #7  
Old 12-21-2001, 11:37 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
2 and 8 makes.. no then carry the 1 to .. wait no is it a 2.. or blah you confused me already!
Reply With Quote
  #8  
Old 12-21-2001, 08:17 PM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
Well I will try some scripts to see if it works.
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 07:33 AM.


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