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 06-13-2015, 09:43 AM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default Stop casting in LUA

I want to stop the casting of a spell in LUA. I will finish this script out once I can at least get the spell to stop, not worried about that yet, I know how to get the spell ID and I will filter it from there. How do you get a a spell to stop casting though? I am not seeing a client interrupt function out there. I think stop just stops an NPC from moving on it's waypoint and has nothing to do with spells.

Code:
function event_cast_begin(e)
    e.self:stop();
end
Reply With Quote
  #2  
Old 06-13-2015, 02:14 PM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

Just doing a search on the source.. I saw InterruptSpell as a lua function

this might work :p

Code:
function event_cast_begin(e)
    e.self:InterruptSpell();
end
Reply With Quote
  #3  
Old 06-13-2015, 02:46 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

I swear i searched in the wiki for that and came up with nothing. I will try that.
Reply With Quote
  #4  
Old 06-13-2015, 03:13 PM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

I just use Notepad++ and do a direct search on the source directory on my computer. If you restrict the search to *.h files you can find functions pretty quickly
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 04:27 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