• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Rotate Mobs

Joined
Mar 24, 2013
Messages
59
Reaction score
9
Can some make a script like this one (this one makes the mob that is called Appocalypse,Annihilion, etc drop a teleport on kill that leads to .....)

This script is from my data in creaturescripts it was in here already when i downloaded the datapack so i didnt make it so i wont take any credits for it at all its just an example.

Code:
local config = {
message = "Please Take your stuff fast Teleport dissapears in 60 seconds.",

timeToRemove = 60, -- seconds

teleportId = 1387,

bosses = {
["Ushuriel"] = { x = 1145, y = 980, z = 7 },
["Annihilion"] = { x = 2102, y = 1671, z = 5 },
["Hellgorak"] = { x = 1568, y = 783, z = 9 },
["Madareth"] = { x = 1352, y = 741, z = 9 },
["Zugurosh"] = { x = 1191, y = 753, z = 11 },
["Demon Oak Bossy"] = { x = 709, y = 831, z = 8 },
["Necropharus"] = { x = 646, y = 809, z = 9 },
["Minishabaal"] = { x = 667, y = 733, z = 7 },
["Foreman Kneebiter"] = { x = 435, y = 244, z = 5 },
["Rook Chaos"] = { x = 722, y = 1080, z = 8 },
["Latrivan"] = { x = 1483, y = 824, z = 9 }
}
}
local function removal(position)

position.stackpos = 1
if getThingfromPos(position).itemid == config.teleportId then

doRemoveItem(getThingfromPos(position).uid)

end

return TRUE
end

function onDeath(cid, corpse, killer)

registerCreatureEvent(cid, "inquisitionPortals")

local position = getCreaturePosition(cid)


for name, pos in pairs(config.bosses) do

if name == getCreatureName(cid) then

teleport = doCreateTeleport(config.teleportId, pos, position)

doCreatureSay(cid, config.message, TALKTYPE_ORANGE_1)

addEvent(removal, config.timeToRemove * 1000, position)

doSendMagicEffect(position,65)
end

end

return TRUE
end
but instead a teleport can you rotate the mob cause i cant do that with remere's and its annoying the hell out of me that the mobs i like to see are faced to the wall like they are ignoring me :( but make it with the names in it pls cause i want diffrent mobs to change diffrent ways if you can do it it would be awesome i hope that someone can help me out here :p
 
Last edited:
Which server do you use and how did you added the monsters in the map? Monsters should turn/move once they see players.
 
Alissow Server, version 0.4.1 (Alissow) tibia its version 8.6 and yeah i did but i made that part protection zone cause its under the temple see img.RME 2014-09-04 19-23-03-49.jpg

this
is in-game :(
Tibia 2014-09-04 19-29-17-29.jpg
 
Last edited by a moderator:
They won't move when your character is a god.
Anyway, make sure there is no pz on the places of the monsters, if you walk with a player there, they should turn around.
 
Back
Top