Function; Ping_AddSobGroup - HWRM/KarosGraveyard GitHub Wiki

Ping_AddSobGroup(<ping_label>, <ping_type>, <sobgroup>)

Description

Adds a new 'ping' of the specified ping_type to the specified sobgroup. The ping location will be centered on the first ship in the group. On hover, the ping_label is displayed next to the ping's circle.

Example

-- Creates a new ping at the position of the first ship in the group 'Player_Ships0' with the type 'anomaly':
Ping_AddSobGroup("Hello World!", "anomaly", "Player_Ships0");

Arguments

Param Type Description
ping_label string Label text to be shown next to the ping's circle when hovered by the mouse.
ping_type PingType (string) The ping type. See PingType.
sobgroup string The name of a sobgroup. If the group is empty, the ping is not displayed.

Related Pages

⚠️ **GitHub.com Fallback** ⚠️