|
Arma Reforger Script API
|
Dynamic map marker entity base class Spawned by marker manager when creating a dynamic marker -> see marker config for customization. More...
Public Member Functions | |
| 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 () |
Protected Member Functions | |
| 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 | |
| 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 entity base class Spawned by marker manager when creating a dynamic marker -> see marker config for customization.
| void SCR_MapMarkerEntity.SCR_MapMarkerEntity | ( | IEntitySource | src, |
| IEntity | parent ) |
| void SCR_MapMarkerEntity.~SCR_MapMarkerEntity | ( | ) |
|
protected |
Authority side update.
|
protected |
Implemented in SCR_MapMarkerDotCircle, SCR_MapMarkerSquadLeader, and SCR_MapMarkerSquadMember.
| Faction SCR_MapMarkerEntity.GetFaction | ( | ) |
| void SCR_MapMarkerEntity.GetImageResource | ( | out ResourceName | imageset, |
| out string | imageQuad ) |
| int SCR_MapMarkerEntity.GetMarkerConfigID | ( | ) |
| IEntity SCR_MapMarkerEntity.GetTarget | ( | ) |
Return entity this marker is tracking.
| string SCR_MapMarkerEntity.GetText | ( | ) |
| SCR_EMapMarkerType SCR_MapMarkerEntity.GetType | ( | ) |
| vector SCR_MapMarkerEntity.GetWorldPos | ( | ) |
Get world position coordinates.
|
protected |
| void SCR_MapMarkerEntity.LayerChangeLogic | ( | int | layerID | ) |
| void SCR_MapMarkerEntity.OnCreateMarker | ( | ) |
Fetch marker definition from config & create widget.
Implemented in SCR_MapMarkerSquadLeader, and SCR_MapMarkerSquadMember.
| void SCR_MapMarkerEntity.OnDelete | ( | ) |
Implemented in SCR_MapMarkerSquadLeader.
|
protected |
|
protected |
Implemented in SCR_MapMarkerSquadLeader, and SCR_MapMarkerSquadMember.
| void SCR_MapMarkerEntity.OnUpdate | ( | ) |
Called from SCR_MapMarkerManagerComponent.
Implemented in SCR_MapMarkerSquadLeader, and SCR_MapMarkerSquadMember.
|
protected |
for override within children classes
|
protected |
used client side for initial visibility set
|
protected |
Create or destroy marker widget based on current state.
| void SCR_MapMarkerEntity.SetFaction | ( | Faction | faction | ) |
| void SCR_MapMarkerEntity.SetGlobalVisible | ( | bool | state | ) |
| void SCR_MapMarkerEntity.SetImage | ( | string | imageset, |
| string | icon ) |
| void SCR_MapMarkerEntity.SetLocalVisible | ( | bool | state | ) |
| void SCR_MapMarkerEntity.SetTarget | ( | IEntity | target | ) |
Set entity this marker is tracking.
| void SCR_MapMarkerEntity.SetText | ( | string | text | ) |
| void SCR_MapMarkerEntity.SetType | ( | SCR_EMapMarkerType | type, |
| int | configID = -1 ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |