xLosT
Member
enter only teleport or tile only guild war
function onStepIn(cid, item, position, fromPosition)
if not(getPlayerGuildId(cid)) then
doTeleportThing(cid, fromPosition, false)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "The tile seems to be protected against unwanted intruders.")
end
return true
end
<action uniqueid="1033" script="tile.lua" />
17:47 You see a magic forcefield.
You can see the other side through it.
ItemID: [1387], UniqueID: [1033].
Position: [X: 287] [Y: 583] [Z: 7].
function onStepIn(cid, item, position, fromPosition)
local t = {x=1000,y=1000,z=7}
if not(getPlayerGuildId(cid)) then
doTeleportThing(cid,t)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "The tile seems to be protected against unwanted intruders.")
end
return true
end
This teleport leads nowhere, or to an invalid location. Do you want to change the destination?
function onStepIn(cid, item, position, fromPosition)
local t = {[COLOR="#0000CD"]x=1000,y=1000,z=7[/COLOR]}
if not(getPlayerGuildId(cid)) then
doTeleportThing(cid,t)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "The tile seems to be protected against unwanted intruders.")
end
return true
end
<action uniqueid="[U]uniqueid of a tile[/U]" event="script" value="[U]name of file.lua[/U]"
17:47 You see a magic forcefield.
You can see the other side through it.
ItemID: [1387], UniqueID: [1033].
Position: [X: 287] [Y: 583] [Z: 7].