LavishGUI:mapblip (Element Type)

From Lavish Software Wiki
Jump to navigation Jump to search

Introduction

What is a Map Blip?

A map blip is a blip to appear on a map element. It is designed to be dynamically adjusted through script or extension, and most of the data simply doesnt make sense to have in the XML (try predicting the specific location of a unit in a game -- something done better at play time). lguimapblip (Data Type) is used to provide access via LavishScript.

Using Map Blips

Map Blips are descendants of the frame element type. Any attributes of the frame element type may be applied in addition to the map blip-specific properties described below.

Map Blip-Specific Properties

  • Font
Font reference (Name, Size, Color)

Embedded Script

  • OnSetTooltip
Executes when a tooltip exists in the parent map, and the tooltip should be set for this blip. Unsigned integer variable TooltipID contains the ID of the tooltip, which can be used with the UIElement Top-Level Object.

Examples

Example code

See Also