Skip to main content

objectcondition

Discworld expression help

objectcondition

Name

objectcondition - the condition of the object

Syntax

int objectcondition(array object obs)

Description

This method will find the condition of the passed in objects. This will return the lowest condition of the set of objects. So if one has a higher condition than another of the objects, the lowest one will be used.

Examples

objectcondition(objects) > 95

See also