I have problem, this is other way to do this quest.
I want to do it like :
Player use the lever, handmaiden summon, if handamiden dead he can summon next. If player dead handmaiden not, handmaiden disappear.
Is it possible? I have TFS 0_4.
/Sorry for english but it sucks.
//Sopelek
My code V
I want to do it like :
Player use the lever, handmaiden summon, if handamiden dead he can summon next. If player dead handmaiden not, handmaiden disappear.
Is it possible? I have TFS 0_4.
/Sorry for english but it sucks.
//Sopelek
My code V
Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)
local standPos = {x = 180, y = 1268, z = 10, stackpos = 1}
local summonPos = {x = 180, y = 1273, z = 10, stackpos = 1}
local fightPos = {x = 179, y = 1280, z = 10, stackpos = 1}
local kamienPos = {x = 180, y = 1267, z = 10, stackpos = 1}
if(item.uid == 9993) then
if(item.itemid == 1945) then
doCreateMonster("The Handmaiden", summonPos)
doTransformItem(item.uid, 1946)
doPlayerSendTextMessage(cid,22,"You can hear that somewhere has change something. It cant be so far.")
doTeleportThing(cid, fightPos)
doCreateItem(1304,1,kamienPos)
elseif(item.itemid == 1946) then
doTransformItem(item.uid, 1945)
doPlayerSendTextMessage(cid,22,"You can hear that somewhere has change something. It cant be so far.")
else
doPlayerSendTextMessage(cid,22,"Sorry, not possible.")
end
return true
end
end