Arma Reforger Script API
|
Dynamic map marker -> squad leader. More...
Public Member Functions | |
void | OnPlayerIdUpdate () |
void | SetPlayerID (int id) |
void | SetTextUpdate () |
SCR_AIGroup | GetGroup () |
void | UpdatePlayerAffiliation () |
Check whether we are in a squad and if it should be visible on map. | |
override void | OnCreateMarker () |
Fetch marker definition from config & create widget. | |
override void | OnDelete () |
override void | OnUpdate () |
Called from SCR_MapMarkerManagerComponent. | |
void | ~SCR_MapMarkerSquadLeader () |
Public Member Functions inherited from SCR_MapMarkerEntity | |
void | SetLocalVisible (bool state) |
SCR_EMapMarkerType | GetType () |
int | GetMarkerConfigID () |
void | SetText (string text) |
string | GetText () |
void | SetImage (string imageset, string icon) |
void | GetImageResource (out ResourceName imageset, out string imageQuad) |
vector | GetWorldPos () |
Get world position coordinates. | |
void | SetType (SCR_EMapMarkerType type, int configID=-1) |
void | SetGlobalVisible (bool state) |
IEntity | GetTarget () |
Return entity this marker is tracking. | |
void | SetTarget (IEntity target) |
Set entity this marker is tracking. | |
Faction | GetFaction () |
void | SetFaction (Faction faction) |
void | OnCreateMarker () |
Fetch marker definition from config & create widget. | |
void | OnDelete () |
void | LayerChangeLogic (int layerID) |
void | OnUpdate () |
Called from SCR_MapMarkerManagerComponent. | |
void | SCR_MapMarkerEntity (IEntitySource src, IEntity parent) |
void | ~SCR_MapMarkerEntity () |
Public Attributes | |
bool | m_bDoGroupTextUpdate |
Static Public Attributes | |
const float | SL_UPDATE_DELAY = 1 |
Protected Member Functions | |
void | AssignGroup () |
void | UpdateTarget () |
Target tracking based on playerID Authority only. | |
void | UpdateGroupMilitarySymbol () |
Set military symbol image, can change during lifetime. | |
void | UpdateGroupText () |
Set group text, can change during lifetime. | |
void | OnUserSettingsChanged () |
Update names when user settings are changed (f.e. xbox UGC) | |
void | OnFlagSelected () |
SCR_AIGroup event Triggers when squad flag is changed. | |
override void | OnMapLayerChanged (int layerID) |
override void | EOnInit (IEntity owner) |
Protected Member Functions inherited from SCR_MapMarkerEntity | |
void | OnUpdateType () |
used client side for initial visibility set | |
void | OnUpdatePosition () |
for override within children classes | |
void | OnUpdateVisibility () |
Create or destroy marker widget based on current state. | |
bool | IsVisible () |
void | OnMapClosed (MapConfiguration config) |
void | OnMapLayerChanged (int layerID) |
override void | EOnInit (IEntity owner) |
override void | EOnFrame (IEntity owner, float timeSlice) |
Authority side update. | |
Protected Attributes | |
int | m_PlayerID |
bool | m_bDoGroupSymbolUpdate |
SCR_AIGroup | m_Group |
SCR_MapMarkerSquadLeaderComponent | m_SquadLeaderWidgetComp |
Protected Attributes inherited from SCR_MapMarkerEntity | |
SCR_EMapMarkerType | m_eType |
int | m_iConfigID = -1 |
vector | m_vPos |
bool | m_bIsGlobalVisible |
bool | m_bIsLocalVisible = true |
int | m_iScreenX |
int | m_iScreenY |
float | m_fUpdateDelay = 1 |
float | m_fTimeTracker |
string | m_sText |
ResourceName | m_sImageset |
string | m_sIconName |
SCR_MapMarkerEntryDynamic | m_ConfigEntry |
Widget | m_wRoot |
SCR_MapEntity | m_MapEntity |
SCR_MapMarkerDynamicWComponent | m_MarkerWidgetComp |
IEntity | m_Target |
Faction | m_MarkerFaction |
Dynamic map marker -> squad leader.
void SCR_MapMarkerSquadLeader.~SCR_MapMarkerSquadLeader | ( | ) |
|
protected |
|
protected |
Implements SCR_MapMarkerEntity.
SCR_AIGroup SCR_MapMarkerSquadLeader.GetGroup | ( | ) |
override void SCR_MapMarkerSquadLeader.OnCreateMarker | ( | ) |
Fetch marker definition from config & create widget.
Implements SCR_MapMarkerEntity.
override void SCR_MapMarkerSquadLeader.OnDelete | ( | ) |
Implements SCR_MapMarkerEntity.
|
protected |
SCR_AIGroup event Triggers when squad flag is changed.
|
protected |
Implements SCR_MapMarkerEntity.
void SCR_MapMarkerSquadLeader.OnPlayerIdUpdate | ( | ) |
override void SCR_MapMarkerSquadLeader.OnUpdate | ( | ) |
Called from SCR_MapMarkerManagerComponent.
Implements SCR_MapMarkerEntity.
|
protected |
Update names when user settings are changed (f.e. xbox UGC)
void SCR_MapMarkerSquadLeader.SetPlayerID | ( | int | id | ) |
void SCR_MapMarkerSquadLeader.SetTextUpdate | ( | ) |
|
protected |
Set military symbol image, can change during lifetime.
|
protected |
Set group text, can change during lifetime.
void SCR_MapMarkerSquadLeader.UpdatePlayerAffiliation | ( | ) |
Check whether we are in a squad and if it should be visible on map.
|
protected |
Target tracking based on playerID Authority only.
|
protected |
bool SCR_MapMarkerSquadLeader.m_bDoGroupTextUpdate |
|
protected |
|
protected |
|
protected |
|
static |