Help Pick up gold in multiplayer (Javascript)


#1

I was trying to collect gold in multiplayer, I won but I still don’t understand how to pick up gold without going on it with hero.moveXY(x, y) Reply here if you know command but don’t use self.something


#2

If you have the right pair of boots you can use the hero.move() command. There is no “pick-up” command, you simply walk over items.


#3

You mean just use my boots?


#4

Boots give different move commands, there is a pair that allows you to use jump and hero.move().


#5

I have jump command and I have moveXY and move targetpos


#6

Thanks for your answers :smiley:


#7

Yes. Now using move command, if you have an item, or variable with an item assigned. You just use. hero.move(item.pos); this allows your character to move and do more than one thing at a time.


#8

Thanks for your reply!


#9

No problem mate. Good luck.