modding:function:itmisknown
Discuss this page on this page's Talk Page
itmIsKnown
| Syntax | (itmIsKnown item) → True/Nil |
|---|---|
| Arguments | item: The itemStruct of the item you want to test. |
| Returns | condition: True if the item is known, Nil otherwise. |
| Category | condition query, item |
| Description | Query function to see if the item is known. For more on known items, see item criteria on the function legend page |
Example
(itmIsKnown (itmCreate 0x4001 3))
Returns True. (you can't create unknown items in code.).
Return to Functions list
modding/function/itmisknown.txt · Last modified: by 127.0.0.1
