Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 05-08-2013, 06:49 PM
Maceblade
Hill Giant
 
Join Date: Jun 2010
Posts: 231
Default Proximity level checker

I want to setup a zone where clients levels are checked by a "guardian" type mob outside each of the room's where the events are taken place. Similar to Vox's banish but I don't want the event initiated before banish takes effect.

Anyone able to give me the code please?
Reply With Quote
  #2  
Old 05-08-2013, 07:24 PM
nenelan
Hill Giant
 
Join Date: Feb 2008
Posts: 116
Default

Set up an invisible mob. Set a proximity on spawn. On enter, check the client's level. If too high, move person/do whatever you want.

I find I learn more if people point me in a direction I need to go, then muddling through it myself.

You want sub EVENT_ENTER and quest::set_proximity(minx, maxx, miny, maxy , minz=0, maxz=0). Shouldn't be too bad, but if you find yourself head-desking a few times, give another post.
Reply With Quote
Reply


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 08: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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3