Thread: Passing Objects
View Single Post
  #3  
Old 06-04-2006, 09:32 PM
Projectshifter Projectshifter is offline
The David
Projectshifter's Avatar
Join Date: Apr 2002
Location: USA
Posts: 912
Projectshifter is an unknown quantity at this point
Send a message via ICQ to Projectshifter Send a message via AIM to Projectshifter Send a message via MSN to Projectshifter Send a message via Yahoo to Projectshifter
Quote:
Originally Posted by Warcaptain
I do not think there is a way as of yet.. perhaps try setting it to an attribute? ie:
NPC Code:

this.attr[20]=hotel;

I tried setting a client.var to an object, it didn't work. I could do like client.obj = obj; and then sendtonc("Blah: " @ client.obj.var); and it would work, but it didn't actually set it on the client because if I tried to use it elsewhere or view it in my attributes it pulled up nothing. This is the very reason why I've decided not to come back to Graal. I used to think that the language was pretty versatile, but it really doesn't much in the way of data handling. Don't get me wrong, it has a great API in accordance with the game itself, but it doesn't handle data very well =(
__________________
Who has time for life these days?
Reply With Quote