Ecstacy
Mothafuckaaa
Hey,
I got some problems with this function, could anyone help me?
There's no further script needed.
The thing that it should do it add a special description to an item on the floor with the itemid 'r.corpse', which is defined in a local.
But when I execute the script on the item it gives me this error:
Thanks in advance,
unknown666
I got some problems with this function, could anyone help me?
LUA:
doSetItemSpecialDescription(getTileItemById(toPosition,r.corpse).uid,' [Tanned]')
There's no further script needed.
The thing that it should do it add a special description to an item on the floor with the itemid 'r.corpse', which is defined in a local.
But when I execute the script on the item it gives me this error:
Code:
[20/09/2010 23:36:41] [Error - Action Interface]
[20/09/2010 23:36:41] data/actions/scripts/tools/butcherknife.lua:onUse
[20/09/2010 23:36:41] Description:
[20/09/2010 23:36:41] data/actions/scripts/tools/butcherknife.lua:61: attempt to call global 'doSetItemSpecialDescription' (a nil value)
[20/09/2010 23:36:41] stack traceback:
[20/09/2010 23:36:41] data/actions/scripts/tools/butcherknife.lua:61: in function <data/actions/scripts/tools/butcherknife.lua:22>
Thanks in advance,
unknown666