Module hvt
High Value Target
Info:
- Author: Doctor Jew
Functions
Initialize() | Initialize the HUD for the system. |
GetParent() | Get the parent panel for the HUD. |
UpdateParent() | Updates the parent panel that contains the other panels. |
BuildPanel(group) | Reconstruct the HVT panel for a group |
GetTargetGroup(class) | Get the group name for a given entity class. |
GetTargetCount(group) | Get the count for an entity group. |
Functions
- Initialize()
- Initialize the HUD for the system.
- GetParent()
-
Get the parent panel for the HUD.
Returns:
-
The root panel of the HUD
- UpdateParent()
- Updates the parent panel that contains the other panels.
- BuildPanel(group)
-
Reconstruct the HVT panel for a group
Parameters:
- group
Returns:
-
The counter panel object
- GetTargetGroup(class)
-
Get the group name for a given entity class.
Parameters:
- class string The class of the entity
Returns:
-
Returns the associated name of the group or nil
- GetTargetCount(group)
-
Get the count for an entity group.
Parameters:
- group string The name of the group
Returns:
-
Returns the group count or 0