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-04-2001, 02:56 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
Question centering images

how can you center text shown usign showimg?

like center it at a certain place, kinda like how message text; will center it on the middle of the image.

also how can you center an image, using showimg.


like how on weapons, the image is centered, even if its not 32,32;
Reply With Quote
  #2  
Old 12-04-2001, 03:49 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
the 2nd parameter in the text showimg..

Observe...

showimg 0,@Tempus sans ITC@c@The "C" befor the 'At' Sign lets me ceter this text,x,y;

you can also do other things...

s for strikeout
b , i , and u for Bold, italics and underline
__________________

subliminal message: 1+1=3

Last edited by Falcor; 12-04-2001 at 03:52 AM..
Reply With Quote
  #3  
Old 12-04-2001, 03:50 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
As for images. im not quite sure what you mean. Please give me a better description.
__________________

subliminal message: 1+1=3
Reply With Quote
  #4  
Old 12-04-2001, 04:02 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
you know how on the D button on the window?


no matter what the width\heigth of the weapon is, its always centered.


how can i do that.
Reply With Quote
  #5  
Old 12-04-2001, 04:20 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Well youd need to know the width/hieght of the npc img =\

you could make all your images universally 1 size like... 32x32 and then do like..

showimg 0,@arial@c@Weapon,x+width/2,y+hieght;
__________________

subliminal message: 1+1=3
Reply With Quote
  #6  
Old 12-04-2001, 04:26 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
ill have to do that, but there should be an images[index].width
and heigth

etc

so we can center them etc.
Reply With Quote
  #7  
Old 12-04-2001, 05:19 AM
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
Quote:
Originally posted by Warcaptain
ill have to do that, but there should be an images[index].width
and heigth

etc

so we can center them etc.
that has been requested many times before, hopefully it will be added
Reply With Quote
  #8  
Old 12-04-2001, 06:55 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
it takes stefan like 5 mins to add another script feature =\
__________________

subliminal message: 1+1=3
Reply With Quote
  #9  
Old 12-04-2001, 07:26 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
it takes even longer if he is lazy, maybe thats why it takes forever for scripts to get up :-)
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 11:20 PM.


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