Page 1 of 1

Problem to target NPC

Posted: Mon Sep 26, 2011 4:35 pm
by gloover
Hey guys, i can not select "Daily Quest Manager"-NPC

Have tried

Code: Select all

player:target_NPC("Daily Quest Manager")
or in german

Code: Select all

player:target_NPC("Tagesquest-Verwalter")
have also tried

Code: Select all

dailynpc=RoMScript("TEXT('Sys112949_name')"); yrest(500)
player:target_NPC(dailynpc);
none of 'em works. Any idea?

Re: Problem to target NPC

Posted: Mon Sep 26, 2011 4:57 pm
by gloover
all-clear, have already solved.

simple using the ID of Quest-Manager

Code: Select all

player:target_NPC(112949);
can be closed.

Re: Problem to target NPC

Posted: Mon Sep 26, 2011 10:06 pm
by rock5
For future reference, when you have problems like this and the name has special characters like '-', you can change them with '.' and it should work.

eg.

Code: Select all

player:target_NPC("Tagesquest.Verwalter")