• 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!

Script for Movement urgent!

Shackal

Alien Project
Joined
Feb 7, 2009
Messages
211
Reaction score
17
Location
Brazil
People sorry but my English is terrible.
When I transfer the folder movements to a previous version of the movements bug.
exemple:
my movements.xml
tag:
<movevent event="StepIn" uniqueid="65000" script="turtle1.lua"/>

the turtle1.lua file this way:

local nPos = {x=32359, y=32902, z=7}

function onStepIn(cid, item, pos)
if isPlayer(cid) == TRUE then
doTeleportThing(cid, nPos)
doSendMagicEffect(nPos, CONST_ME_ENERGYAREA)
end
return TRUE
end

and the map editor is showing the action of the turtle peg leg 65000 and the script does not work, or does not perform any action.

Need a script that works in Mystic Spirit 0.2.5 or 0.3.4 Crying in Damson.

Thank all.
 
Try this :

Instead of :
Code:
<movevent event="StepIn" uniqueid="65000" script="turtle1.lua"/>

Change to :
Code:
<movevent type="StepIn" uniqueid="65000" script="turtle1.lua"/>
 
Back
Top