IsRidable

From UODemo Wiki
Revision as of 18:38, 21 October 2012 by Batlin (talk | contribs) (Protected "IsRidable" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))

(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.