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 04-04-2009, 12:22 PM
realityincarnate
Developer
 
Join Date: Dec 2007
Posts: 122
Default

The main problem with your version of the quest is that GetHateTop() isn't a member of the entity list. If you call $npc->GetHateTop(), you'll get a result, which I believe is mob type. You should then be able to either call functions from that or cast it to whatever you need.

You also have a typo in the last line ("trator" instead of "traitor").
Reply With Quote
  #2  
Old 04-04-2009, 10:21 PM
Dibalamin
Hill Giant
 
Join Date: Dec 2007
Posts: 182
Default

Ok, so CastToNPC() is the variable passer that I've been looking for? I may joygasm if that is the case

my $attack=$npc->GetHateTop();
my $traitorattack=$attack->CastToNPC();
$traitorattack->CastSpell(spellid,$client);
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 01:50 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