Difference between revisions of "Quest Script Operations"
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= Quest Script Operations = | = Quest Script Operations = | ||
Quest script operations are used to script Quests. | Quest script operations are used to script Quests. A subset will be available for [[Custom NPC Dialogue|Custom NPC Dialogues]]. | ||
== Menu == | == Menu == | ||
Line 12: | Line 12: | ||
== NPC tell == | == NPC tell == | ||
Syntax: <npc>:<Message> | Syntax: <npc>: <Message>[Narrate|actionmy|action] | ||
NPC respone to a player with a message. | 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 == | == Player tell == | ||
Syntax: P:< | 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 == | ||
Line 32: | Line 40: | ||
Commands build [[Response Operation|Response Operations]]. Multiple commands can be defined separated with dots. | Commands build [[Response Operation|Response Operations]]. Multiple commands can be defined separated with dots. | ||
Ex: Give 1 tria.Give 2 exp. | Ex: Give 1 tria.Give 2 exp. | ||
=== Assign Quest === | === Assign Quest === |
Revision as of 00:39, 11 January 2014
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: