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 |
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.
|
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.
|
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? |
All times are GMT -4. The time now is 02:42 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.