Skip to content

Adding Custom Level Flag Icons

Taz edited this page May 7, 2020 · 6 revisions

This feature was implemented by SweetMNM.

MinimapAPI:AddMapFlag(
  any id,
  function condition,
  Sprite sprite,
  string animName,
  (number or function) animFrame
)
  • id is a unique id used to identify the level flag icon.
  • condition is a function that returns true if the icon should show.
  • The sprite, animName and animFrame represent which animation and which frame of animation the map should show.
    • animFrame can also be a function which returns a number.

Clone this wiki locally