Hello OTLanders,
I'm using the following script for a quest.
A player needs to touch 3 statues, before he is able to go through the teleporter.
But what happens is when a player touches 1 statue he is already able to go through the teleporter
I'm using the following script for a quest.
Lua:
function onStepIn(cid, item, position, fromPosition)
tileback = {x=2179, y=771, z=12, stackpos=255}
if (getPlayerStorageValue(cid,887) < 1) then
if (getPlayerStorageValue(cid,888) < 1) then
if (getPlayerStorageValue(cid,889) < 1) then
doTeleportThing(cid, tileback)
doSendMagicEffect(tileback,10)
doPlayerSendTextMessage(cid,22,"You did not touch all 3 the statues yet...")
else
end
else
end
else
end
return true
end
A player needs to touch 3 statues, before he is able to go through the teleporter.
But what happens is when a player touches 1 statue he is already able to go through the teleporter