Flags on quests

noisound

Golden Oldie
Golden Oldie
Jul 23, 2004
1,335
10
175
Tags on quests

With taggin on quests, how does it work exactly?


and wot do the numbers range from?


(start number - final number you can use)
 

GOMEEE

LOMCN Veteran
Veteran
Mar 5, 2009
259
0
42
Re: Tags on quests

if ur on about the falgs.... 002-1200 i think'

001 is the lvl 50 effect
 
Upvote 0

noisound

Golden Oldie
Golden Oldie
Jul 23, 2004
1,335
10
175
Re: Tags on quests

yeah flags not tags* rofl


how would you use it in a script tho?

CHECK [002]

SET [002]


something like that, im not sure =/
 
Upvote 0

GOMEEE

LOMCN Veteran
Veteran
Mar 5, 2009
259
0
42
Re: Tags on quests

depends if your setting or checking lol...

#if
check [002] 1
#say
flag 002 is on
#elsesay
flag 002 is off

thats for checking...

to set a flag

#say
would you liek to turn flag 002 <on/@002on> or <off/@002off>\

[@002on]
#act
set [002] 1

[@002off]
#act
set [002] 0

thats for setting flags...

understand?
 
Upvote 0

noisound

Golden Oldie
Golden Oldie
Jul 23, 2004
1,335
10
175
Re: Tags on quests

depends if your setting or checking lol...

#if
check [002] 1
#say
flag 002 is on
#elsesay
flag 002 is off

thats for checking...

to set a flag

#say
would you liek to turn flag 002 <on/@002on> or <off/@002off>\

[@002on]
#act
set [002] 1

[@002off]
#act
set [002] 0

thats for setting flags...

understand?

yeah ish lol, these stop people repeating quests ect ?


yeah lol ty :p
 
Upvote 0

ρяєα¢нєя

Unstookie Titled
VIP
Aug 19, 2008
444
23
85
Re: Tags on quests

NPC1:
Code:
[@main]
#IF
CHECK [101] 1
#SAY
Quest Complete! \ \
<Exit/@exit>
#ACT
BREAK
#IF
CHECK [100] 1
#SAY
I said go and speak to NPC2. \ \
<Exit/@exit>
#ELSESAY
Go and speak to NPC2. \ \
<Exit/@exit>
#ELSEACT
SET [100] 1

NPC2:
Code:
[@main]
#IF
CHECK [101] 1
#SAY
I said return to NPC1 \ \
#ACT
BREAK
#IF
CHECK [100] 1
#SAY
Return to NPC1 \ \
<Exit/@exit>
#ACT
SET [101] 1
#ELSESAY
You need to speak to NPC1 before you speak to be. \ \
<Exit/@exit>

Just knocked those up as a quick example. They're used to stop people repeating quests. Once a player has completed a specific action, set a flag so you can check on another NPC etc..

p
 
Last edited:
Upvote 0

Killmaster

Legend
Legendary
Golden Oldie
Loyal Member
Nov 13, 2003
3,967
27
274
Re: Tags on quests

Its just a very good way of linking things up. Checks using flags I find a lot better than using namelists.
 
Upvote 0

GOMEEE

LOMCN Veteran
Veteran
Mar 5, 2009
259
0
42
i tend to use namelist tbh. but it does depend on wht im doing over all. somethings you can only do with flags.
 
Upvote 0

ρяєα¢нєя

Unstookie Titled
VIP
Aug 19, 2008
444
23
85
I prefer using Namelists if i'm honest, i find it alot easier to keep track of whats what, just store all namelists in a folder in market_def.

market_def/Namelists/Quest1/...
market_def/Namelists/Quest2/...

Makes it a lot easier to see who's completed what etc..

p
 
Upvote 0

GOMEEE

LOMCN Veteran
Veteran
Mar 5, 2009
259
0
42
like preach sed. helps you keep track of whos done what.

sept i keep mine in questdiary :P

my market_def folder stays clean aswell then kill :P
 
Upvote 0