Hello wondring if somone could help me with this action script.
It worked well with 8.31 but now with 8.4 it aint working
IM USING TFS 0.2
This script is working like this
if you have ferumbras hat (5903)
you put it on the coal basin, then when you click on the angel
( 1060 ) you will be tpd to
ntp1pos = {x=1006, y=571, z=6, stackpos=1}
/dALALE
It worked well with 8.31 but now with 8.4 it aint working
IM USING TFS 0.2
This script is working like this
if you have ferumbras hat (5903)
you put it on the coal basin, then when you click on the angel
( 1060 ) you will be tpd to
ntp1pos = {x=1006, y=571, z=6, stackpos=1}
Code:
function onUse(cid, item, frompos, item2, topos)
sacr1pos = {x=818, y=707, z=7, stackpos=1}
player1pos = {x=819, y=708, z=7, stackpos=1}
sacr1 = getThingfromPos(sacr1pos)
player1 = getThingfromPos(player1pos)
if item.uid == 1060 then
if sacr1.itemid == 5903 then
ntp1pos = {x=1006, y=571, z=6, stackpos=1}
doTeleportThing(player1.uid,ntp1pos)
doSendMagicEffect(sacr1pos,CONST_ME_HITBYFIRE)
doTransformItem(sacr1.uid,8820)
doTargetCombatHealth(0, cid, COMBAT_FIREDAMAGE, -600, -700, CONST_ME_FIRE)
doCreatureSay(cid, "Your can feel the ferumbras power flushing through your blood!", TALKTYPE_ORANGE_1)
else
doCreatureSay(cid, "Not enough power to active the portal!", TALKTYPE_ORANGE_1)
doSendMagicEffect(sacr1pos,CONST_ME_HITBYFIRE)
end
end
end
/dALALE