Arma Reforger Script API
|
Protected Member Functions | |
override bool | TestVisibilityFiltered (SCR_NameTagData data, float timeSlice) |
Determine secondary visibility rules from the filtered tags. | |
override void | DetermineVisibility (float timeSlice) |
Uses provided nametag data to determine which tags pass the visibility conditions and filters them into a new array. | |
Protected Member Functions inherited from SCR_NameTagRulesetBase | |
bool | TestVisibility (SCR_NameTagData data, float timeSlice) |
Determine whether the tag passes basic conditions for visibility. | |
bool | TestVisibilityFiltered (SCR_NameTagData data, float timeSlice) |
Determine secondary visibility rules from the filtered tags. | |
void | UpdateVisibleTag (SCR_NameTagData data, float timeSlice) |
Update for visible tags. | |
void | CheckLOS () |
Change opacity based on line of sight. | |
bool | TraceLOS (SCR_NameTagData data) |
Check if target is visible to the player. | |
void | SelectTagToExpand (float timeSlice) |
Evaluates if player is focusing a nametag entity or not, expands/collapses nametag after a set time. | |
void | ExpandTag (SCR_NameTagData data) |
Logic for showing additional info when nametag becomes expanded. | |
void | CollapseTag (float timeSlice, SCR_NameTagData data) |
Logic for collapsing the nametag back to its basic format. | |
bool | DisableTag (SCR_NameTagData data, float timeSlice) |
Fade out tag and disable it when it no longer passes rules for visibility. | |
float | GetCameraToEntityAngle (vector targetOrigin, float verticalWeight) |
Calculates angle between screen center and target entity. | |
void | CalculateScreenPos (SCR_NameTagData data) |
Calculate tag 2d screen pos. | |
void | DetermineVisibility (float timeSlice) |
Uses provided nametag data to determine which tags pass the visibility conditions and filters them into a new array. | |
void | OnUserSettingChanged () |
Settings changed event. | |
void | Cleanup () |
Cleanup. | |
void | UpdateDebug () |
Debug. | |
|
protected |
Uses provided nametag data to determine which tags pass the visibility conditions and filters them into a new array.
timeSlice | is frame time slice |
Implements SCR_NameTagRulesetBase.
|
protected |
Determine secondary visibility rules from the filtered tags.
data | is the subject nametag |
timeSlice | is frame time slice |
Implements SCR_NameTagRulesetBase.