IsRidable

From UODemo Wiki
Revision as of 18:07, 21 October 2012 by Batlin (talk | contribs) (Created page with 'integer '''isRidable'''(object ''Mobile''); This function will return 0 if the given ojbect is not a mobile.<br> The function will return 1 if the mobile is mountable/ridable, o…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

integer isRidable(object Mobile);

This function will return 0 if the given ojbect is not a mobile.
The function will return 1 if the mobile is mountable/ridable, otherwise 0 is returned.

An object is considered mountable/ridable if it has a resource attached which has a food name equal to RIDABLE.
(See restypes.mul.q and itemres.mul.q)


Return to the Command List.