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 04-14-2004, 01:15 AM
Fhqwhgads Fhqwhgads is offline
Registered User
Join Date: Nov 2003
Location: Chicago
Posts: 57
Fhqwhgads is on a distinguished road
Send a message via AIM to Fhqwhgads
Showimg help

Ok, in the gui script, im trying to add something, and i put in this code, but for some reason the actual string doesnt show up
NPC Code:
showimg 1010,@Show: #s(server.string),0,87; changeimgzoom 1010,.99; changeimgvis 1010,5;


The string is set fine, but that doesnt show... Can i get some help here please? I also tried:
NPC Code:
showtext 1101,1,1,,,#s(server.etmessage); changeimgvis 1101,4;


It is timeouted btw xD
Reply With Quote
  #2  
Old 04-14-2004, 01:46 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
1.) You're supposed to use showtext now

2.) Is this online? Clientside doesn't see server. strings
Reply With Quote
  #3  
Old 04-14-2004, 01:50 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
please don't ever use showimg to show text anymore


Hmm, that line of code can't be your problem. Put something else in there along with the #s(server.etmessage) and see if that shows up. (like this)
NPC Code:

showtext 1101,1,1,,,testing if you can see me this is not the problem : ) #s(server.etmessage);
changeimgvis 1101,4;



If it shows up, then there is something wrong with the string (not being read right I suppose). Otherwise something else is breaking before your script even gets to the showtext.
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #4  
Old 04-14-2004, 01:52 AM
Fhqwhgads Fhqwhgads is offline
Registered User
Join Date: Nov 2003
Location: Chicago
Posts: 57
Fhqwhgads is on a distinguished road
Send a message via AIM to Fhqwhgads
Yes, i tried that Dach... The words showed up but the string didn't xD ill try not clientsiding it..

EDIT: I tried putting it above the clientside but that didnt show up either...

Last edited by Fhqwhgads; 04-14-2004 at 02:05 AM..
Reply With Quote
  #5  
Old 04-14-2004, 02:01 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
Quote:
Originally posted by Fhqwhgads words of interest highlighted by Chad

Yes, i tried that Dach... The words showed up but the string didn't xD ill try not clientsiding it..
That would be the problem, as Jagen inquired while I was messing around. You can't read server strings from the clientside, serverr yes, but not server.
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #6  
Old 04-14-2004, 02:20 AM
Fhqwhgads Fhqwhgads is offline
Registered User
Join Date: Nov 2003
Location: Chicago
Posts: 57
Fhqwhgads is on a distinguished road
Send a message via AIM to Fhqwhgads
NVM everything works now! thanks for all your help!
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 03:01 PM.


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