[C]: in function 'getExhaustion'
...scripts/quests/forgotten knowledge/servants teleport.lua:6: in function <...scripts/quests/forgotten knowledge/servants teleport.lua:1>
what is wrong?
if player:getExhaustion(Storage.ForgottenKnowledge.LloydTimer) > 0 then
player:teleportTo(Position(32815, 32872, 13))
player:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
position:sendMagicEffect(CONST_ME_TELEPORT)
player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You have to wait to challenge this enemy again!")
return true
end
anyone can help me?
...scripts/quests/forgotten knowledge/servants teleport.lua:6: in function <...scripts/quests/forgotten knowledge/servants teleport.lua:1>
what is wrong?
if player:getExhaustion(Storage.ForgottenKnowledge.LloydTimer) > 0 then
player:teleportTo(Position(32815, 32872, 13))
player:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
position:sendMagicEffect(CONST_ME_TELEPORT)
player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You have to wait to challenge this enemy again!")
return true
end
anyone can help me?