I need help weaving vectors using ritic

If anyone has done this, @fatdecoy has but he isnt on forums i think
i want to make ritic blink away from the enemy hero but if he runs into a wall, he changes direction

i do use the vectors i used for archers on ace of coders.

@PeterPalov pls help :slight_smile:


Like teleporting ritic?

yea, using blink :slight_smile: :sweat_smile: :sweat_smile: :sweat_smile: :sweat_smile:

Come on, you know, use the code you PMed me

but if i hit a edge/wall it bugs me out, i want it to turn once i am near a wall

Use distanceTo
and hero.findHazards()

but how do i make it turn? using Vector.rotate?

No no, maybe use blink

like once i hit a edge, i want to blink somewhere else… i need to use vectors

Ok, first do you know how do let your paladin stay infront of the hero?

yea, Vector.divide(Vector.add(hero.pos,enemyHero.pos),2)

No, not like that! :grin:


Still not, not like that

divide margin can be 2, 2.5,3,3.5,4

can u help me tho?

Yes, i’m trying right now