Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Custom

Quests::Custom Custom Quests here

Reply
 
Thread Tools Display Modes
  #1  
Old 09-26-2009, 02:08 PM
Shin Noir's Avatar
Shin Noir
Legendary Member
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 506
Default

There's an inwater flag on mobs, used for the ruleset of Watermaps, not sure those are mapped out but there's essentially a bunch of checks to verify this, but I think until pathing is done on the zone it doesn't quite work right? Could be wrong.. but assuming this check is properly done it'd be as easy as adding to mob.h some form of inline bool InWater() const { return inWater; } and then you should be able to call $mob->InWater() to get a TRUE/FALSE Return of it being there or not.

Also with your code the mob i don't think would immediately return to his home point? He may stand there out of water, and then eventually decide to return... better than chasing you out!
__________________

~Shin Noir
DungeonEQ.com
Reply With Quote
  #2  
Old 09-26-2009, 06:27 PM
Dibalamin
Hill Giant
 
Join Date: Dec 2007
Posts: 182
Default

I'd tried the $mob function with InWater() before and didn't have much luck with it. I assumed it might have been an incomplete function in the source or a mis-communication between the server source, water file and DB. Again, just theorizing...
__________________
Retired EMarr
Project1999 Developer
Reply With Quote
Reply

Thread Tools
Display Modes

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 02:41 PM.


 

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