UpInSmoke
Supreme Ruler
- Joined
- Nov 16, 2008
- Messages
- 303
- Reaction score
- 21
so i want an item that when a different item is used on it, that it transforms to a different item - (works)
now i want to set an event to when it transforms so in x amount of time it will transform back, the event works, but i cant see to get it to transform back.
I have tried, removing the item (which doesnt seem to work, maybe i dont know how to properly use that function) and then creating it again, creating works, removing doesnt.
Let me give abit more information on this script, so the script works when a certian item is used on a list of different items, these items dont have uniqueid or action id so it works on
now here is what i am trying to do non of which works, (for removing or transforming, doesnt matter just need one of them to work)
ofcourse im not using all of these at once, i simply comment it out and keep trying new ones, these are all the ones i have tried and all failed.
Anybody got any ideas?
now i want to set an event to when it transforms so in x amount of time it will transform back, the event works, but i cant see to get it to transform back.
I have tried, removing the item (which doesnt seem to work, maybe i dont know how to properly use that function) and then creating it again, creating works, removing doesnt.
Let me give abit more information on this script, so the script works when a certian item is used on a list of different items, these items dont have uniqueid or action id so it works on
Code:
XXXX = YYYY[itemEx.itemid]
Code:
doRemoveItem(rockPos,t.depletedRock,1)
doRemoveItem(getTileItemById(rockPos,rockId).uid)
doTransformItem(item.uid,rockId)
doTransformItem(RockPos,rockId)
doTransformItem(itemEx.itemid,rockId)
ofcourse im not using all of these at once, i simply comment it out and keep trying new ones, these are all the ones i have tried and all failed.
Anybody got any ideas?