Skip to content

SetLabelOcclusion

Whether the labels over the other players and the NPC actors hide behind walls.

true by default: a label is hidden when something stands between the player’s eyes and the body - another player’s name and an NPC actor’s alike. false shows every label through everything - a debugging aid, and a choice a mode may make for its players. A server whose [ui] through_walls is true shows the labels through walls whatever this says (server.toml).

SetLabelOcclusion(hidden)
Parameter Type
hidden boolean true hides a label behind geometry, false shows it through

nothing

SetLabelOcclusion(false)

the The player, the level and the frame group of the index