Knock-in instead of Knockback

Anti-krazy

New Member
Reaction score
5
Hi.
the title says it all

i have problem i want a spell to knockback towards the caster instead of away.

is this possible? If so can u help? :)
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
well its pretty much the same as know back just into another direction. When you set the point the unit is moved to just change the offset to a negative value.
 

The Undaddy

Creating with the power of rage
Reaction score
55
If knockbacking is moving the unit with a polar offset towards (Angle between (Position of Caster) and (Position of Target)) then "knock-in" is the same towards (Angle between (Position of Target) and (Position of Caster))
 

Romek

Super Moderator
Reaction score
963
Ever heard of 'meat hook' or other chain spells?

They do that.

How are you doing the knockback?
If you're using a system, try setting the knockback distance to a negative value.
 

FireBladesX

Eating my wings!
Reaction score
123
Make all units face the point that you want to suck them in to, pick all of them and periodically do:
Move Picked Unit instantly to (Position of Picked Unit offset by X towards Facing Unit of Picked Unit)?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top