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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-01-2016, 07:43 PM
N0ctrnl's Avatar
N0ctrnl
Discordant
 
Join Date: Jan 2007
Posts: 443
Default Get sitting state inside a spell script?

I've been working on the Yaulp V spell. It's supposed to fade on sitting, but the current code seems to only check against that during the first tick of the buff. Then the cleric can sit and the buff remains.

My first thought was just to throw a timer in when the spell hits, and check it over and over for sit state and whether the buff is on the character. If it is, drop it. The issue with that is, as I know now, that the spell quests don't seem to have access to the same functions - $client->IsSitting() in this case.

Does that sound about right? Is there any way at all the spell scripts can ascertain the sitting state of the client?

Thanks!
__________________
Ender - Lead GM/Developer
Vegarlson Asylum Server - http://www.vegarlson-server.org/
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:13 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3