summaryrefslogtreecommitdiff
path: root/npc/functions/main.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/main.txt')
-rw-r--r--npc/functions/main.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index 2d4d3a11a..05ec73fc1 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -266,6 +266,16 @@ function script VarDiffValue {
return (getarg(0) < .@val && getarg(1) >= .@val);
}
+// Function meant to be used by Main Storyline Quest
+// msObjective ( condition , message )
+function script msObjective {
+ if (getarg(0))
+ mesc getarg(1), 2;
+ else
+ mesc getarg(1), 9;
+ return;
+}
+
function script getmap {
if (getmapxy(.@mapName$, .@xpos, .@ypos, getarg(0,0)) != 0)
return false;