PDA

View Full Version : void quest::set_zone_flag(int zone_id); what to do exactly?


Arex
01-27-2006, 11:30 AM
i should use this command for give a player access to one zone when he complete one quest, isnt it? then why u need add a string saying name of key on flag_needed field of zone table?

i am going to update all quests for give correct flag when they must give one flag...but before i need to know this info on command.

thx

fathernitwit
01-28-2006, 01:40 PM
read the wiki that I sent you to last time.....
http://www.eqemulator.net/wiki/wikka.php?wakka=ServerZoneFlags

Arex
01-28-2006, 09:49 PM
i already saw it a lot of times, but i dont know the answer to my question...perhaps i dont understand wikki perfectly because my english isnt too much good. then if u want that i can help with key quests, can anybody answer to my question? when a guy finish a access quest to one zone and he get his key to that zone, i should use quest::set_zone_flag(zone_id) for give access to that zone for that player??????

Thank You!

RangerDown
01-29-2006, 06:56 AM
Give it a try and see if it works.

ylosh
01-30-2006, 09:47 PM
if you want to set a flag for a zone like sebilis -

step one, log in your GM character and type

#flagedit lockzone sebilis Trakanon Idol
(i like to use the name of the key that would let you into the zone)

or edit the flag_needed field in the zone header for sebilis (id#89).


step two, add a line into emperor ganak's script where he awards you the trakanon idol.

quest::set_zone_flag(89);


step three, either kill the froglok forager and hunter to get the medallions or summon them and hand them in to ganak.

now type #flags and you'll see Trakanon Idol in your list.