Difference between revisions of "GetHeShe"
From UODemo Wiki
(Created page with 'integer '''getHeShe'''(object ''Mobile'');<br> The ''getHeShe'' function will return a string containing "he", "she" or "it" based on the sex value of a mobile. See getSex. …') |
(No difference)
|
Revision as of 11:15, 13 September 2010
integer getHeShe(object Mobile);
The getHeShe function will return a string containing "he", "she" or "it" based on the sex value of a mobile. See getSex.
sex=0: "he" is returned
sex=1: "she" is returned
sex=2: "it" is returned
If an invalid object/mobile is provided than the string "he" will be returned, see getSex for more details.
Return to the Command List.