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
  #16  
Old 09-21-2003, 10:41 PM
SaijinGohan SaijinGohan is offline
Registered User
SaijinGohan's Avatar
Join Date: Jul 2001
Location: U.S.A - Ohio
Posts: 536
SaijinGohan is on a distinguished road
Send a message via AIM to SaijinGohan Send a message via MSN to SaijinGohan
Ok well I've figured it out. wraptext wont work the way I need it to be used. I'll use #e.
__________________

Job: A Legend

And you think that you have played Graal forever? Ha!
Reply With Quote
  #17  
Old 09-21-2003, 11:00 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally posted by SaijinGohan
Ok well I've figured it out. wraptext wont work the way I need it to be used. I'll use #e.
wraptext works with pixels I believe?
Reply With Quote
  #18  
Old 09-21-2003, 11:22 PM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura about
Send a message via AIM to adam
Quote:
Originally posted by SaijinGohan
Well since my other post disappeared. -.-

NPC Code:
for (i=0;i<tokenscount;i++)setstring temp,#s(temp)#t(i)#b;



That #b is causing each word to be on a new line. :/ I don't think the wraptext is working. Maybe because it's serverside or does that not matter with wraptext?
no... that can't be the problem works fine for me.. would for you to if you just put it in an npc in an emtpy level and said something and touched it.
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote
  #19  
Old 09-21-2003, 11:41 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by DustyPorViva


wraptext works with pixels I believe?
wraptext2 does, wraptext doesn't
Reply With Quote
  #20  
Old 09-22-2003, 12:17 AM
Mal1core Mal1core is offline
Registered User
Join Date: Jul 2003
Location: Rochester, New York
Posts: 41
Mal1core is on a distinguished road
Send a message via AIM to Mal1core Send a message via Yahoo to Mal1core
Quote:
Originally posted by SaijinGohan
Well since my other post disappeared. -.-

NPC Code:
for (i=0;i<tokenscount;i++)setstring temp,#s(temp)#t(i)#b;



That #b is causing each word to be on a new line. :/ I don't think the wraptext is working. Maybe because it's serverside or does that not matter with wraptext?
uhh, thats saying that for each token i gets + 1.., so the problem woudl be that for every word since the begining they are both equal, causing a #b for each word im so smart i figured that out by myself. ;P

try:
NPC Code:
for (i=5;i<tokenscount;i+=5setstring temp,#s(temp)#t(i)#b;



thats for 5 words a line.
__________________
Im still searching...
Reply With Quote
  #21  
Old 09-22-2003, 01:23 AM
SaijinGohan SaijinGohan is offline
Registered User
SaijinGohan's Avatar
Join Date: Jul 2001
Location: U.S.A - Ohio
Posts: 536
SaijinGohan is on a distinguished road
Send a message via AIM to SaijinGohan Send a message via MSN to SaijinGohan
The problem is wraptext doesnt work serverside and therefor was shortchanging the rest of the script.
__________________

Job: A Legend

And you think that you have played Graal forever? Ha!
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 10:17 AM.


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