HideLevelMapIcons
Hides some of the level’s own map icons from everyone.
opts: mark - one icon by its id (the reference page lists them; the same on every game); or type (a name or a GUID) with
x, y and radius - the icons of that type around a place (no radius: the whole level); or x, y and radius alone -
every icon around a place. The icon goes from the map and the compass, and a player cannot discover the place while it is hidden; it
comes back as the player had it when the rule goes. At most 256 rules.
Syntax
Section titled “Syntax”HideLevelMapIcons(opts)| Parameter | Type | |
|---|---|---|
opts |
table | the rule |
Returns
Section titled “Returns”number - the rule’s id, for ShowLevelMapIcons; nil and the reason
Example
Section titled “Example”-- Kuttenberg's tailors sell nothing on this serverHideLevelMapIcons({type = "tailor", x = 3100, y = 760, radius = 300})-- one cobbler by its idHideLevelMapIcons({mark = "36d3b2fe-8b17-48f0-b00c-e4a515d296e8"})See also
Section titled “See also”HideLevelMapIconsFor · ShowLevelMapIcons · CreateMapIcon · the Map icons group of the index
