object.set_waypoint_range

Change the distances at which waypoints are visible.

Arguments

min

The minimum distance at which the player is able to see the waypoint: they cannot see it if they get any closer. Positive values are limited to 100. All values below zero are treated as a sentinel value.

max

The maximum distance at which the player is able to see the waypoint: they cannot see it if they're any further away. Positive values are limited to 100. All values below zero are treated as a sentinel value.

Example

for each object with label "koth_hill" do
   current_object.set_waypoint_range(0, 50)
end

Notes

See also