NPC Variables

From PSwiki
Revision as of 15:03, 20 December 2011 by Magodra (talk | contribs)
Jump to navigation Jump to search

Substituted Keyword

The following keywords are replaced in strings used in the NPC Client Scripting. It allows for generic scripting like:

<talk text="My name is $name" />
Keyword Description
$name Replaced with the name of the NPC.
$owner If npc is a pet, replaced with the name of the owner
$race Replaced with the race of the NPC.
$target Replaced with the name of the current target.
$tribe If npc is part of a tribe, replaced with the tribes name.