summaryrefslogtreecommitdiff
path: root/npc/functions/main.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-05-22 10:26:27 -0300
committerJesusaves <cpntb1@ymail.com>2018-05-22 10:26:27 -0300
commita6cb86383bf2926a448da5c54b775a322886a031 (patch)
treebf429e2afa496c4ce33b3211c7bd6cfa9e8b8e96 /npc/functions/main.txt
parent1fa5991c2da5f3a19f1122677c1a5b7b31d28613 (diff)
downloadserverdata-a6cb86383bf2926a448da5c54b775a322886a031.tar.gz
serverdata-a6cb86383bf2926a448da5c54b775a322886a031.tar.bz2
serverdata-a6cb86383bf2926a448da5c54b775a322886a031.tar.xz
serverdata-a6cb86383bf2926a448da5c54b775a322886a031.zip
Implements setq2 and setq3 (I'll be needing them soon, untested)
Diffstat (limited to 'npc/functions/main.txt')
-rw-r--r--npc/functions/main.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index 243ae383d..9685ff256 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -13,6 +13,18 @@ function script menuaction {
return "[" + getarg(0) + "]";
}
+function script setq2 {
+ // Quest, val1 , val2 , val3 , time
+ setq getarg(0), getq(getarg(0)), getarg(1), getq3(getarg(0)), getqtime(getarg(0));
+ return;
+}
+
+function script setq3 {
+ // Quest, val1 , val2 , val3 , time
+ setq getarg(0), getq(getarg(0)), getq2(getarg(0)), getarg(1), getqtime(getarg(0));
+ return;
+}
+
function script mesn {
if (getargcount() > 0)
{