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 01-25-2006, 04:46 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Reading a player's font name

PHP Code:
  $pref::graal::allowglobalpms boolean
  $pref
::graal::automapping boolean
  $pref
::graal::defaultfontsize integer
  $pref
::graal::dontconnectlevels boolean
  $pref
::graal::dontloadlistheads boolean
  $pref
::graal::dontsavepasswords boolean
  $pref
::graal::dontsavepms boolean
  $pref
::graal::fixedport boolean
  $pref
::graal::fixedudpport integer
  $pref
::graal::language string
  $pref
::graal::limitnicknames boolean
  $pref
::graal::loadbuddylistfromserver boolean
  $pref
::graal::nicknamelimit integer
  $pref
::graal::nomassmessages boolean
  $pref
::graal::notoalls boolean
  $pref
::graal::noudp boolean
  $pref
::graal::showyourselfonbuddylists boolean 
There used to be a string like this for the player's font name..
Does anyone remember what it is, or if it still exists?
Reply With Quote
  #2  
Old 01-26-2006, 11:24 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
That's a php code? O.o? If so, then woah, never would have knew lol. Else, if its not, you got the wrong code tags ;-)

Also, what do those do?
Reply With Quote
  #3  
Old 01-27-2006, 03:28 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Quote:
Originally Posted by KuJi
That's a php code? O.o? If so, then woah, never would have knew lol. Else, if its not, you got the wrong code tags ;-)

Also, what do those do?
Stop being a retard and get out of my topic. Code tags look like crap.

Just take a wild guess at what the variables I listed are.
Here's a hint: READ THEM.
Reply With Quote
  #4  
Old 01-27-2006, 03:57 AM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
Quote:
Originally Posted by KuJi
That's a php code? O.o? If so, then woah, never would have knew lol. Else, if its not, you got the wrong code tags ;-)

Also, what do those do?
Many prefer using php code tags since they allow tabbing.

Now back on topic!
__________________
Reply With Quote
  #5  
Old 01-27-2006, 04:23 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
I know, their preference thingy's, but how would you read them?
Reply With Quote
  #6  
Old 01-27-2006, 08:13 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
*Yen, why do you need to know the font? If you showtext without a font it will use the player's current font.

(Edit: Whoops, I meant Yen, not KuJi. Thanks Lance )

Last edited by Rick; 01-27-2006 at 11:58 AM..
Reply With Quote
  #7  
Old 01-27-2006, 12:26 PM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
Quote:
Originally Posted by KuJi
I know, their preference thingy's, but how would you read them?
With your eyes...O.O
__________________
Reply With Quote
  #8  
Old 01-27-2006, 02:35 PM
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
I can add access to the font name.
The php tags allow syntax highlighting which is often quite compatible to Graal Script.
Reply With Quote
  #9  
Old 01-27-2006, 08:15 PM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Thanks Stefan.

I'm showing text in a gani, which will use the player showing it's font/size.
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:45 PM.


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