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
  #2  
Old 06-09-2009, 06:27 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Though I haven't tried it yet, you should be able to use the new EVENT_CAST for that. It should be something as simple as this:

player.pl
Code:
sub EVENT_CAST {

  if($spell_id == 1000) {

    if($gender == 0) {
      quest::playerrace(95);
    }
    elsif($gender == 1) {
      quest::playerrace(62);
    }
    else{
      # do nothing
    }

  }

}
As I said, I haven't tested this new event yet, but I think this should do exactly what you are wanting. I have been wanting to write some new scripts to use it and test it out, but just haven't had time yet. I am excited to have this as an option now and will definitely be taking advantage of it some time soon
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
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 05:09 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