NPC Variables: Difference between revisions
Jump to navigation
Jump to search
Created page with '-- | $race --' |
No edit summary |
||
Line 1: | Line 1: | ||
-- | == Substituted Keyword == | ||
| $race | |||
-- | 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. | |||
|- | |||
|} |
Revision as of 15:03, 20 December 2011
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. |