Thread: the NPC's name
View Single Post
  #8  
Old 02-25-2009, 05:39 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Tyhm View Post
Sweet! Now if I can just get that to work...right now
PHP Code:
echo("Name="@npc.name); 
returns
PHP Code:
Name
. It returns a value for npc.id (usually in the 300s),1but no name. -_-
In fact,
PHP Code:
        echo("Name="@npc.name@" ID="@npc.id); 
returns
PHP Code:
NameID=300 
I've had similar problems in the past. Does the ID of the NPC change on serverside-clientside?

You may be able to use findNPCByID(idFromClientside) on serverside if you pass the ID in the trigger.

Edit: Readiog your original post, seems you may have tried this already.
__________________
Reply With Quote