Variable for gender?
Is there a variable for poling a PC's and or NPC's gender for use in quests?
Thanks for your time, Rob |
not that i'm aware of...
but it might be possible to use the hotkey variable settings to get it output in say/shout commands... i don't remember them off the top of my head tho... it was like %o %m etc etc.. you can probably find them by searching the eqlive knowledgebase at http://station.sony.com/ |
try using
Code:
$npc->GetBaseGender() as for client.. this MIGHT work im not posotive.. Code:
$npc->CastToClient()->GetBaseGender() Code:
if ($npc->GetBaseGender() == 1) |
Thanks for the help the code $npc->GetBaseGender() does get the NPC's gender for me.
I now need to find a way to report the user's gender I tried the %O variable for say/shout which reports Him/Her/it but looks like perl ignores it. Well if there really isn't a command or variable to report the user's gender I'd like to request one. Please and thank you. Thanks for your time, Rob |
just out of curiosity... try this...
Code:
$client->GetBaseGender() |
Hummmmm
If you read this post before I edited it never mind I realize now why I'm not a programmer.
Any how that code does report user's gender, Woot. Thanks for the help, Rob |
All times are GMT -4. The time now is 12:42 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.