From a6cb86383bf2926a448da5c54b775a322886a031 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 22 May 2018 10:26:27 -0300 Subject: Implements setq2 and setq3 (I'll be needing them soon, untested) --- npc/functions/main.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'npc/functions/main.txt') 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) { -- cgit v1.2.3-60-g2f50