Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Database/World Building

Archive::Database/World Building Archive area for General Discussion's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-25-2002, 07:52 AM
Venelar
Fire Beetle
 
Join Date: Jan 2002
Posts: 19
Default Quest Scripting Questions

I'm working on scipting some NPCs in arena for my server, which is like the central zone I want people to hang around in when not fighting. What I want to do is put an 'Arenamaster' in each town, so when you start the game, you go to the arena master and he zones the player to arena. Heres my script, i'm only missing the zone command. I looked in WesQuests.cpp and didn't see a function to zone a player so im not sure if its possible.

NPC_SCRIPT 0000{
TRIGGER_TEXT:Hail:{
SAY:Hail traveller! I am the arena master. It is my duty to see that traellers such as yourself make a safe journey to the arena. Do you wish to [visit the arena]?
}

TRIGGER_TEXT:visit the arena:{
SAY:Very well then, off you go!
EMOTE:Teleports %CHARNAME% to the arena.
<-------INSERT ZONE PLAYER TO ARENA LINE HERE----------->
}
}

My second question is for the FLAG_ACCOUNT function. When used, it only gives GM status to players. I want to make quests like eros had where you must earn privlidges on my server. So you start with no privledges, then you do a quest to gain #GOTO, #ZONE, etc etc. Now, I have set up my ini file so that #GOTO is rated at 10, #ZONE at 20 and so on so that players can step up gradually. Is it possible to have a npc modify an account status? Eros had it but im not sure how it was done.

A quest might look like this...

TRIGGER_ITEM:0000:{
SAY:Outstanding work %CHARNAME%. You are worthy of my first secret of travel. To teleport to a different location within the area you are exploring, use #GOTO Xcoord Ycoord Zcoord.
FLAG_ACCOUNT 10
}

But... FLAG_ACCOUNT only gives GM status, not 10... is there a way to implement this?

Thanks, i hope i can get this working and open my server up. Id love to have some people try my other regular quests i've made.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 04:14 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3