Difference between revisions of "IsRidable"

From UODemo Wiki
Jump to: navigation, search
(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…')
 
m (Protected "IsRidable" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
 
(No difference)

Latest revision as of 18:38, 21 October 2012

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.