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 03-27-2008, 01:06 PM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default Changign player class and checkign deity?

could someone post commands needed to change player class?


is this suppose to work?

sub EVENT_SAY
{

if ($text=~/warrior/i)
{
quest::changeclass(1); #changes player class into warrior
}

}


also how do I check he player worships specific deity?
via quest command of course
Reply With Quote
  #2  
Old 03-28-2008, 12:52 AM
Theeper
Discordant
 
Join Date: May 2004
Posts: 290
Default

There is a method called $client->SetBaseClass(), but I have never used it, so I dunno what it actually does. Also, there is $client->SetDiety(). It seems like there should be a $client->GetDiety() or maybe just a $player_diety variable, but I haven't seen them.
Reply With Quote
  #3  
Old 03-28-2008, 01:33 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

There IS indeed a $client->GetDeity(); object. Check out Qaelin_Hailstorm.pl in qrg of the PEQ quests for an example of how to use it.
Reply With Quote
  #4  
Old 03-28-2008, 02:34 AM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

thanks guys

Ok I got these working 100%

quest::changedeity(X);
quest::permaclass(X);
quest::permarace(X);


cheking on that guy in qrg now.

how about checking players gender?
Reply With Quote
Reply


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