flags......

Play Now

hotlou

LOMCN Veteran
Veteran
Feb 5, 2004
468
0
92
Essex!
ok the flags, this aint me strong point so i ave no idea
does it mean summik like 101 is the first quest like so u cant do it twice thn 102 is the second quest which u cannot do twice and it goes up or summik?
 

Blaminator

VIP
Golden Oldie
Loyal Member
Jul 11, 2003
2,731
0
173
London
Flags dont mean anything, they can be anything from [001] to [999] :P you can use it they have no meaning in paicular or somehting ;)
 

Miles

LOMCN VIP
VIP
Mar 27, 2003
1,195
0
213
Not really, basically flags are used to check if you have been somewhere or done something on an npc. Basically what you do is set any flag eg [543] to 1 (on) by doing

#ACT
SET [543] 1

You can then make another npc or the same check if you have visited that npc by checking if [543] is on

#ACT
CHECK [543] 1

You can use it for quests eg make an npc set it on after you have finished a quest and then at the start check if its on and if it is, then make it no let you do the quest. Its pretty simple but i find name lists much better to use.

/Miles
 

Gorgons

Dedicated Member
Dedicated Member
Apr 16, 2004
32
0
32
[@main]
#IF
check [666] 0
#SAY
Would you like to kill the devil for me?\\
<Yes/@devil>\
<No/@exit>\
#ELSESAY
You have already killed the devil, go away\
<OK/@exit>

[@devil]
#ACT
SET [666] 1
#SAY
Well done you killed the devil\
Would you like to kill him again?\
<Yes let me kill him again/@killagain>\
<No thank you i have killed him enough/@exit>\

[@killagain]
#ACT
SET [666] 0
break


That looks right i think, note that this is the first time i have ever looked at flags, for about 10seconds last night before i went to sleep, they seem pretty easy so if that is wrong then tell me so i can correct myself. :) hope it helps