modding:function:itmsetknown
Discuss this page on this page's Talk Page
itmSetKnown
| 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: by 127.0.0.1
