DocsMegalithObjects and the world

Waypoints

Halo 3's objective navpoints over an object, with Reach's calls:

set_waypoint_visibility(who)
everyone, allies (the players of its team), enemies (the other teams; everyone, when it has none), a player, a team such as current_player.team, or no_one. None show until this is set.
set_waypoint_icon(icon)
speaker, dead_teammate (a cross), check, bullseye, diamond (the default), bomb, flag, skull, crown, vip (a star), padlock, or territory, N (the number N, 1 to 9).
set_waypoint_priority(p)
blink makes it blink; low, normal and high draw the same.
set_waypoint_timer(n | none)
Show this object's timer n over its icon, or hide the timer with none. Halo 3's HUD shows whole seconds left; Reach's HUD uses its own timer ring.
set_waypoint_text("text", values)
Show text over the waypoint icon. Timer and text changes reach every player, including joiners, on Halo 3's HUD too.

A waypoint is blue to its object's team, red to the others and gray over an object with no team; off screen, an arrow at the screen's edge points to it, as Halo 3's objectives' do. Assigning current_object.team also gives the object itself that team until the round ends: a flag takes the team's color on every PC. A player's body keeps its player's team. Any number of objects may keep waypoint settings; at most 64 show at once, the highest priorities first, then the oldest objects'. One goes with its object.

Mark a fallen teammate for their team
on object death: do
    killed_object.set_waypoint_icon(dead_teammate)
    killed_object.set_waypoint_visibility(current_player.team)
end