Help me please
its my code:
while True:
skeleton = hero.findNearest(hero.findByType('skeleton'))
if skeleton:
hero.forcePush(skeleton, Vector(0, 1), 1)
Help me please
its my code:
while True:
skeleton = hero.findNearest(hero.findByType('skeleton'))
if skeleton:
hero.forcePush(skeleton, Vector(0, 1), 1)
What level is this on? Also, what hero and equipment are you using?
Edit: Please change to #level-help category for the discourse.
I tried your code and your are pushing the skeletons up… maybe try using Vector.subtract(something.pos.x,something.pos.y)
And maybe try something less than 1. 0.5, 0.6, you get it.
are you think than i need to write vector.subtract instead forcePush or write them together ?
Write them together
20chars