PDA

View Full Version : GetGrid() giving odd values back


Lamec
05-18-2007, 12:59 AM
Hi,
I'm sure this is just something that's not clicking yet, but when I use
$npc->GetGrid() in a quest pl, I get back a strange value (the c program says it's giving back int32, I'm guessing that's my problem?)

The value should be something like 498001 and it's giving me 27269 (or something like that.) The value it's giving isn't in the table... I did notice that the function #wpinfo uses GetGrid() to return the grid number, but it seems to be formatting the output before it sends it back as a string...

Is there something I can do with the return value to get the actual value from it? I've search for hours in the perl doctumentation and in the wiki info, even some google searching... Please help :)

Thanks