User Tools

Site Tools


modding:function:itmsetknown

Discuss this page on this page's Talk Page

itmSetKnown

See itmSetKnown at Xelerus

Syntax (itmSetKnown {item | itemUNID}) → True or Error
Arguments item: An itemStruct or the UNID of the item you want to make known.
Returns True if successful, or an Error if the argument is not an item
Category item
Description Makes the item known, if the item is unknown it turns it into its known type.

Example

(itmSetKnown (itmCreate 0x4001 3))

Returns True. (you can't create unknown items in code.).

Return to Functions list

modding/function/itmsetknown.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1