Xarah
Member
- Joined
- Apr 18, 2018
- Messages
- 42
- Reaction score
- 8
Hello, I have a problem with the script. The script is not responding to the blood. I tried modifying the script, but nothing works. I would appreciate any suggestions. Thank you in advance for any guidance.
action lua:
xml:
action lua:
LUA:
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
if target.actionid ~= 2023 then
return false
end
if not Tile(toPosition):getItemById(2016, 2) then
return true
end
toPosition.z = toPosition.z + 1
player:teleportTo(toPosition)
toPosition:sendMagicEffect(CONST_ME_TELEPORT)
return true
end
xml:
Code:
<action actionid="2023" script="quests/pits of inferno/goshnar.lua" />