Hello There, Guest! Login Register


how MoveToCell work ????
#1
someone can explain to how it works and for what i can use it ??
 
Reply
#2
I dont understand what there is to explain... you move to a cell lol

Type /loc ingame to see your xy positions.
penguins
 
Reply
#3
moveToCell(XPos,YPos) move your character to the cell specified by XPos and YPos. If you need to use it to use a item,like a rod for example,you can do it this way.

if getMapName() == "Olivine City" then
            if (getPlayerX() == 19 and getPlayerY() == 45) then
                useItem("Super Rod")
            else
                moveToCell(19, 45)
            end
        end

If you just need to get on a Cell for, for example, change the map you can simply use 

if getMapName() == "Olivine City" then
                moveToCell(19, 45)
            end
       
 
Reply
#4
If need move cell then move to another cell ? and repeat this process?
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)