Quest Script Operations

From PSwiki
Revision as of 17:07, 4 January 2014 by Magodra (talk | contribs) (→‎Commands)
Jump to navigation Jump to search

Quest Script Operations

Quest script operations are used to script Quests.

Menu

Syntax: Menu:

New substep ...

Syntax: ... [NoRepeat]

NPC tell

Syntax: <npc>:<Message>

NPC respone to a player with a message.

Player tell

Syntax: P:<Message>

Player tell npc.

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: