User Tools

Site Tools


modding:function:itmsetreference

Discuss this page on this pages TalkPage

itmSetReference

See itmSetReference at Xelerus

Syntax (itmSetReference item) → True or Error
Arguments item: The itemStruct of the item you want to make referenced.
Returns Almost always returns True. If passed a non-item arguement, it will return an Error
Category item
Description Makes the item referenced. For more on referenced items, see here: http://wiki.neurohack.com/transcendence/wiki/functionlegend#reference

Example

(itmSetReference (itmCreate 0x4021 3))

Makes the Penitent cannon referenced. Return to Functions list

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