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

Movement request

azzkaban

Monster Maker
Joined
Feb 23, 2010
Messages
1,101
Reaction score
195
Location
Iquique Chile
Hi I need little script:

stepIn actionid 60601 and player change outfit = 267
change only for 7 seconds.

Can you help me?
 
LUA:
function onStepIn(cid, item, frompos, itemEx, topos)
         if isPlayer(cid) then
         doSetCreatureOutfit(cid, 267, 7)
         doSendMagicEffect(getThingPos(cid), 25)
end
return true
end
 
Set the tile to action id 60601 in RME.
LUA:
function onStepIn(cid, item, position, fromPosition)
    local current_outfit = getCreatureOutfit(cid)
    local set_outfit = {267,1,1,1,1,1}
    local _callback = function()
        doCreatureChangeOutfit(cid, current_outfit)
        return
        end
    if item.actionid == 60601 and isPlayer(cid) then
        doCreatureChangeOutfit(cid, set_outfit)
        addEvent(_callback, 7000)
    end
end

e. Changed it to use your action id.
e2. This will work in 0.3
 
Last edited:
Back
Top