Skip to content

MarkerTargeting

The settings every world marker shares: who sees it. They are part of TextLabelSettings, MapIconSettings, CheckpointSettings and AreaSettings, and every marker record has them.

type MarkerTargeting = {
interior?: number; virtualWorld?: number; visible?: boolean; players?: PlayerTarget[] | null;
};
Field Type Description
interior number The interior it is in: 0 outside (the default), 1 to 18 an interior’s, 13 every interior.
virtualWorld number The virtual world it is in (default 0), or virtualWorlds.every for every one.
visible boolean false hides it from everyone; a hidden checkpoint sends no events, a hidden area still does. Defaults to true.
players PlayerTarget[] | null Only these players, while they are connected; null or left out: everyone. On a record it holds their player IDs.