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