I am trying to create a teleport with an action ID. I use TFS 0.3.6 and there is the function. The teleport is created, but the teleport has not an action id, when I look on it right click.
Neither this code and this below doesn't work.
Code:
doItemSetAttribute(doCreateTeleport(1387, redTpPos, templePos), "actionid", 3351)
Code:
doItemSetAttribute(doCreateTeleport(1387, redTpPos, templePos), "aid", 3351)
Neither this doesn't work:
Code:
local tp = doCreateTeleport(1387, redTpPos, templePos)
doItemSetAttribute(getTileItemById(templePos, 1387).uid, "actionid", 3351)