modding:function:itmisdamaged
Discuss this page on this pages TalkPage
itmIsDamaged
| Syntax | (itmIsDamaged item) → True/Nil |
|---|---|
| Arguments | item: The itemStruct of the item you want to check for damage. |
| Returns | boolean: True if the item is damaged, Nil otherwise. |
| Category | condition query, item, damage |
| Description | Returns whether the item is damaged or not. |
Example
(itmIsDamaged (itmCreate 0x4001 3))
Returns Nil. (well of course new items will not be damaged) Return to Functions list
modding/function/itmisdamaged.txt · Last modified: by 127.0.0.1
