velocity_towards_location

Sets the velocity to point from an entity towards the location.

Categories: location, movement

Required arguments

Key(s)DescriptionType
fromThe entity that the velocity points away from.
Choices: player, victim
STRING
strengthThe length of the resulting velocity vector.EXPRESSION

Parameter transformers

  • LOCATION becomes VELOCITY

Example

mutators:
  - id: velocity_towards_location
    args:
      from: player|victim
      strength: 1.5