User Tools

Site Tools


modding:function:itmisknown

Discuss this page on this page's Talk Page

itmIsKnown

See itmIsKnown at Xelerus

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: 2014/12/27 04:40 by 127.0.0.1