Can Items Check for Flags before use?

Join Discord

injen1

Dedicated Member
Dedicated Member
Jul 14, 2004
23
0
47
Say for Example Your char is flagged,
Is there anyway to have an item check if the player if flagged before it equips? If they are not flagged - it wont equip.
Same with a skill book, If the char is flagged - they can learn the skill, If not they cant learn it?

Appreciate your help massively.
 

Lucafer

LOMCN Veteran
Veteran
May 15, 2008
419
1
65
Newbury,Berks
noy 100% sure but i think say u wanna use blizzard skill u need to set sdimode to 31 then set the anicount to say for example 9

then i Q-function u wud put

[@StdModeFunc9]
#IF
check [999] 1
#ACT
ADDSKILL Blizzard 3
#Elseact
goto @cnt

[@cnt]
#SAY
Sorry yoy cant use this skill
#ACT
give blizzard 1
break

i think this is right not 100% sure tho
 
Upvote 0

injen1

Dedicated Member
Dedicated Member
Jul 14, 2004
23
0
47
Is Q-Function a file? where do I find it? thanks.

I have a Qmanage?
 
Last edited:
Upvote 0

Amenovis

Golden Oldie
Golden Oldie
Loyal Member
Jan 9, 2006
1,105
0
143
Germany
items also possible only much work.

the question is for what the player get the flag. as example if the player must make a quest that the flag get set it work.

and another question is how much work you are willing to spend in it :)

you can make a simple npc that check flag and trade items like it work in mir3 (zentaur or hasekura server)

you create a ring and call it Ring(old) and change the ring to a normal annicount that you can store hold in bag or drop or trade but not put on. than you have also a second ring in your db that you can wear. than you need only put the (old) ring in drop files and create the npc that change old to usefull. that npc can check flag and say as example

sorry you have not done that quest i can not make the old ring usefull without the questitem or the knowledge you done it.

so you see you need than for each item a flag or for a special groups of items a flag or you make it with txt file "addnamelist checknamelist delnamelist" dunno if it work in mir2 but it work in woool and mir3 and you must create much items (old) and edit much dropfiles.

so you see the question is only how much work you will spend or how the people get the flags and for how much items
 
Upvote 0