Format

get_step_towards(Ref, Trg)

Returns

The location of the new position.

Args

  • Ref: Starting point or object.
  • Trg: An object on the map.

Calculate the position of a step from Ref in the direction of Trg.

See also

walk_towards proc