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
  #3  
Old 08-27-2008, 01:18 PM
phinius
Fire Beetle
 
Join Date: Aug 2008
Location: norrath
Posts: 8
Default

Thanks Trevius. Well in that case I guess I will go ahead and post what I'm actually tryng to do.

I want a mob to randomly pick someone on the hate list and set their level to 1.
I was referencing AndMetal's post here: http://www.eqemulator.net/forums/showthread.php?t=25588 where he suggests using:

Code:
$mob->GetHateRandom();
and then using that charid to cast a spell on a random person.

Code:
$mob->CastSpell(123, $mob->GetHateRandom());
He stated he was not sure if it would work, and I don't believe it is. I was using this script to test wether or not it was getting a charid. I believe I also tried $npc->castspell.

If GetHateRandom is working, how would I direct:

Code:
quest::level(1)
or

Code:
$mob->SetLevel(in_level, command= false)
to the randomly selected guy on the hate list?
Reply With Quote
 

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:29 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