Response Operation: Difference between revisions

From PSwiki
Jump to navigation Jump to search
Magodra (talk | contribs)
Magodra (talk | contribs)
Line 8: Line 8:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
Line 13: Line 14:
|-
|-
|anim
|anim
|Mandatory
|string
|string
|
|
Line 18: Line 20:
|-
|-
|text
|text
|Optional
|string
|string
|
|
Line 32: Line 35:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
!Description
!Description
|-
|-
|
|
|
|
|
Line 51: Line 56:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
!Description
!Description
|-
|-
|
|
|
|
|
Line 70: Line 77:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
!Description
!Description
|-
|-
|
|
|
|
|
Line 89: Line 98:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
!Description
!Description
|-
|-
|
|
|
|
|
Line 108: Line 119:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
!Description
!Description
|-
|-
|
|
|
|
|
Line 127: Line 140:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
!Description
!Description
|-
|-
|
|
|
|
|
Line 146: Line 161:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
!Description
!Description
|-
|-
|
|
|
|
|
Line 165: Line 182:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
!Description
!Description
|-
|-
|
|
|
|
|
Line 184: Line 203:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
!Description
!Description
|-
|-
|
|
|
|
|
Line 203: Line 224:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
!Description
!Description
|-
|-
|
|
|
|
|
Line 222: Line 245:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
!Description
!Description
|-
|-
|
|
|
|
|
Line 240: Line 265:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
!Description
!Description
|-
|-
|
|
|
|
|
Line 259: Line 286:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
!Description
!Description
|-
|-
|
|
|
|
|
Line 278: Line 307:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
Line 283: Line 313:
|-
|-
|cmd
|cmd
|Mandatory
|string
|string
|
|
Line 298: Line 329:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
!Description
!Description
|-
|-
|
|
|
|
|
Line 317: Line 350:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
Line 322: Line 356:
|-
|-
|text
|text
|Mandatory
|string
|string
|
|
Line 336: Line 371:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
!Description
!Description
|-
|-
|
|
|
|
|
Line 355: Line 392:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
!Description
!Description
|-
|-
|
|
|
|
|
Line 374: Line 413:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
Line 379: Line 419:
|-
|-
|text
|text
|Mandatory
|string
|string
|
|
Line 391: Line 432:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
!Description
!Description
|-
|-
|
|
|
|
|
Line 410: Line 453:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
!Description
!Description
|-
|-
|
|
|
|
|
Line 429: Line 474:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
!Description
!Description
|-
|-
|
|
|
|
|
Line 448: Line 495:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
!Description
!Description
|-
|-
|
|
|
|
|
Line 467: Line 516:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
Line 472: Line 522:
|-
|-
|quest
|quest
|Mandatory
|string
|string
|
|
Line 477: Line 528:
|-
|-
|error_msg
|error_msg
|Optional
|string
|string
|
|
Line 491: Line 543:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
Line 496: Line 549:
|-
|-
|quest
|quest
|Mandatory
|string
|string
|
|
Line 501: Line 555:
|-
|-
|error_msg
|error_msg
|Optional
|string
|string
|
|
Line 515: Line 570:
{|
{|
!Attribute
!Attribute
!Required
!Values/Type
!Values/Type
!Default
!Default
Line 520: Line 576:
|-
|-
|quest
|quest
|Mandatory
|string
|string
|
|
Line 525: Line 582:
|-
|-
|error_msg
|error_msg
|Optional
|string
|string
|
|

Revision as of 23:49, 25 December 2013

Response Operations

Action

This response operations .

Attribute Required Values/Type Default Description
anim Mandatory string Name of animation
text Optional string Action command.


 Ex:  <action ... />

Action My

This response operations .

Attribute Required Values/Type Default Description


 Ex:  <actionmy ... />

Action My Public

This response operations .

Attribute Required Values/Type Default Description


 Ex:  <actionmypublic ... />

Action Public

This response operations .

Attribute Required Values/Type Default Description


 Ex:  <actionpublic ... />

Assign Quest

This response operations assign a new quest to the player.

Attribute Required Values/Type Default Description


 Ex:  <assign ... />

Complete Quest

This response operations complete a quest.

Attribute Required Values/Type Default Description


 Ex:  <complete ... />

Do Admin Command

This response operations .

Attribute Required Values/Type Default Description


 Ex:  <doadmincmd ... />

Faction

This response operations adjust the faction.

Attribute Required Values/Type Default Description


 Ex:  <faction ... />

Give Item

This response operations give items to the player.

Attribute Required Values/Type Default Description


 Ex:  <give ... />

Guild Award

This response operations .

Attribute Required Values/Type Default Description


 Ex:  <guild_award ... />

Introduce

This response operations introduce the player with the NPC.

Attribute Required Values/Type Default Description


 Ex:  <introduce ... />

Money

This response operations .

Attribute Required Values/Type Default Description


 Ex:  <money ... />

Narrate

This response operations .

Attribute Required Values/Type Default Description


 Ex:  <narrate ... />

Narrate Public

This response operations .

Attribute Required Values/Type Default Description


 Ex:  <narratepublic ... />

NPC Cmd

This response operations send a command to the NPC Client. The command will trigger NPC responses.

Attribute Required Values/Type Default Description
cmd Mandatory string Use format npccmd:global:<your cmd text> or npccmd:self:<your cmd text>


 Ex:  <npccmd cmd="npccmd:global:start_riot" />
      <npccmd cmd="npccmd:self:open_cage" />

Offer Reward

This response operations .

Attribute Required Values/Type Default Description


 Ex:  <offer ... />

Respond

This response operations respond with a text to the player. This is the same as the Say operation.

Attribute Required Values/Type Default Description
text Mandatory string The chat message to respond with.


 Ex:  <respond text="Hello" />

Run

This response operations run a script.

Attribute Required Values/Type Default Description


 Ex:  <run ... />

Respond Public

This response operations .

Attribute Required Values/Type Default Description


 Ex:  <respondpublic ... />

Say

This response operations respond with a text to the player. This is the same as the Respond operation.

Attribute Required Values/Type Default Description
text Mandatory string The chat message to respond with.
 Ex:  <say text="Hello" />

Set Variable

This response operations .

Attribute Required Values/Type Default Description


 Ex:  <setvariable ... />

Train

This response operations train the player.

Attribute Required Values/Type Default Description


 Ex:  <train ... />

Uncomplete Quest

This response operations Un-complete a quest.

Attribute Required Values/Type Default Description


 Ex:  <uncomplete ... />

Unset Variable

This response operations Un-set a variable.

Attribute Required Values/Type Default Description


 Ex:  <unsetvariable ... />

Verify Quest Assigned

This response operations verify if a quest is assigned.

Attribute Required Values/Type Default Description
quest Mandatory string Name of quest.
error_msg Optional string Error message.


 Ex:  <verifyquestassigned quest="The Quest" error_msg="The Quest is not assigned" />

Verify Quest Completed

This response operations verify if a quest is complete.

Attribute Required Values/Type Default Description
quest Mandatory string Name of quest.
error_msg Optional string Error message.


 Ex:  <verifyquestcompleted quest="The Quest" error_msg="The Quest is not completed" />

Verify Quest Not Assigned

This response operations verify that a quest is not assigned.

Attribute Required Values/Type Default Description
quest Mandatory string Name of quest.
error_msg Optional string Error message.


 Ex:  <verifyquestnotassigned quest="The Quest" error_msg="The Quest is assigned" />