Quest Script Operations

From PSwiki
Revision as of 00:39, 11 January 2014 by Magodra (talk | contribs) (→‎NPC tell)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Quest Script Operations

Quest script operations are used to script Quests. A subset will be available for Custom NPC Dialogues.

Menu

Syntax: Menu:

New substep ...

Syntax: ... [NoRepeat]

NPC tell

Syntax: <npc>: <Message>[Narrate|actionmy|action]

NPC respone to a player with a message. A block starting with [ and ending with ] will give a /narrate, /my or /me command. If the block do not start with the npc name it will be a narrate. If it starts with the npc name it will be a /me, and if ' follows the npc name it will be a /my.

Ex: Harnquist: How do you do?[Harnquist looks down!]
    Harnquist: How do you do?[Harnquist' cat looks at you.]
    Harnquist: How do you do?[As he finishes talking, you notice clouds darkening on the horizon...]

Player tell

Syntax: P:<Trigger text>

Player tell npc. The text is the trigger text for the player message.


Ex: P: hello
    P: Yes P: No

Player

Player action.

QuestNote

Commands

Commands build Response Operations. Multiple commands can be defined separated with dots.

Ex: Give 1 tria.Give 2 exp.

Assign Quest

Syntax: Assign Quest <quest name>

Complete

Syntax: Complete <quest name>

DoAdminCmd

Syntax: DoAdminCmd <Admin command>

FireEvent

(Note: Not completed.)

Syntax: FireEvent 

The fire event has no corresponding Response Operation.

Give

Syntax: Give <value> tria|hexa|ocata|circle|exp|faction
        Give <item> or <item>
        Give [<count>] [<quality>] <item>

Give items or money to the player. If multiple items are listed with or between an offer is made to the player.

Ex: Give 1 Ring of Familiar.
    Give 3 tria.

Introduce

Syntax: 

NoRepeat

Syntax: 

Require

Syntax: 

Run script

Syntax: 

SetVariable

Syntax: 

Uncomplete

Syntax: Uncomplete <quest name>

UnsetVariable

Syntax: