This is a very cool level, but again I did find the example code for forcePush, as with reflect, didn’t work.
The example code uses a dictionary to make a vector for the dir element of hero.forcePush(target, dir, ratio), but when that’s put into practice it throws the error: “direction.copy is not a function”.
while True:
skel = hero.findNearest(hero.findByType('skeleton'))
if skel and hero.isReady('force-push'):
hero.forcePush(skel, {'x': 1, 'y': 0.5, 'z': 1}, 0.4)
When I change the dictionary to a Vector, then it works fine. So I think, in the same way as in reflective shield, the only confusing element is the example code for the ability which the level focuses on.
Danny