NPC flags problem?

Join Discord

Slanesh

Golden Oldie
Golden Oldie
Sep 6, 2004
522
6
125
Stoke, England
Okay, basically my quest is item retrieval. Person A asks you to collect and item from person B and deliver it back to person A. Sounds simple - but I've hit a brick wall here... Apparantly, myflags don't seem to be working - or they're not being checked for some reason.

One of my NPCs has this coded:

Code:
[@accept]
#ACT
SET [10001] 1
#SAY
Sample text \ \
<Exit/@exit> \

My other has this:

Code:
#IF
CHECK [10001] 1
#ACT
GIVE Item 1
#SAY
Sample text \ \
<Exit/@exit> \
#ELSESAY
Sample text \ \ 
<Exit/@exit> \

What have I done wrong?
 

JealY

LOMCN VIP
VIP
Nov 28, 2004
5,354
52
305
England
Nick here

change
[@accept]
#ACT
SET [10001] 1
#SAY
Sample text \ \
<Exit/@exit> \

to


[@accept]
#ACT
SET [005] 1
#SAY
Sample text \ \
<Exit/@exit> \

and

#IF
CHECK [10001] 1
#ACT
GIVE Item 1
#SAY
Sample text \ \
<Exit/@exit> \
#ELSESAY
Sample text \ \
<Exit/@exit> \

to

#IF
CHECK [005] 1
#ACT
GIVE Item 1
#SAY
Sample text \ \
<Exit/@exit> \
#ELSESAY
Sample text \ \
<Exit/@exit> \

that mite work... if not dont know :D

Nick
 
Last edited:

Slanesh

Golden Oldie
Golden Oldie
Sep 6, 2004
522
6
125
Stoke, England
Doesn't work... I've tried changing the flag values, but when I speak with the 2nd NPC it just acts as thoguh you haven't started the quest (or either the flag has not been set/checked)...