object.set_waypoint_priority
Change the waypoint's visual priority.
Arguments
- priority
-
Any of the following values:
- low
- The waypoint will be translucent — almost invisible, in fact.
- normal
- The waypoint will be normally visible.
- high
- The waypoint is visible even when the object is off-screen?
- blink
- The waypoint will blink rapidly. This is usually used for urgent waypoints, like a territory under attack in Invasion.
Example
for each object with label 2 do -- let's pretend this is all landmines current_object.set_waypoint_priority(low) end
Notes
If the context object doesn't exist, then this function does nothing. It's safe to call this function without checking whether the object variable you're using is no_object.