Function; Ping_AddPoint - HWRM/KarosGraveyard GitHub Wiki

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

Description

Adds a new 'ping' of the specified ping_type at the center of the specified volume. The first argument, ping_label, appears to be unused, as it doesn't display on hover as with Ping_AddSobgroup or Ping_AddVector.

Example

local vol_name = "my-volume";
Volume_AddSphere(vol_name, { 0, 0, 0 }, 10);

-- Creates a new ping at the center of the volume `vol_name` with the type 'anomaly':
Ping_AddPoint("Hello World!", "anomaly", vol_name);

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.
volume string The name of a sobgroup. If the group is empty, the ping is not displayed.

Related Pages

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