modding:function:itmcreate
Discuss this page on this page's Talk Page
itmCreate
Syntax | (itmCreate itemUNID count) → item |
---|---|
Arguments | itemUNID: The UNID of the item you want to create. |
count: The amount of items you want to create. | |
Returns | item: An itemStruct of the items you created. |
Category | create, item, UNID |
Description | Creates `count' amount of items with the given `itemUNID' and returns a itemStruct representing all the items created. |
Very useful function allowing the creation of any item you feel like in code.
Example
(itmGetName (itmCreate 0x4001 1) 0)
Returns the string segment of light titanium armor.
Return to Functions list
modding/function/itmcreate.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1