20 [
RplProp(onRplName:
"OnUpdateType")]
29 [
RplProp(onRplName:
"OnUpdateVisibility")]
184 SCR_MapMarkerManagerComponent markerMgr = SCR_MapMarkerManagerComponent.GetInstance();
190 markerMgr.SetMarkerStreamRules(
this);
280 SCR_MapMarkerManagerComponent markerMgr = SCR_MapMarkerManagerComponent.GetInstance();
284 markerMgr.RegisterDynamicMarker(
this);
286 BaseRplComponent rplComp = BaseRplComponent.Cast(
FindComponent(BaseRplComponent));
287 if (rplComp.IsOwner())
294 if (markerEntityClass)
328 SCR_MapMarkerManagerComponent markerMgr = SCR_MapMarkerManagerComponent.GetInstance();
330 markerMgr.UnregisterDynamicMarker(
this);
ArmaReforgerScripted GetGame()
SCR_CacheNoteComponentClass ScriptComponentClass RplProp()] protected ref array< string > m_aLines
enum SCR_ECompassType EntityEditorProps(category:"GameScripted/Gadgets", description:"Compass", color:"0 0 255 255")
Prefab data class for compass component.
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
void IEntity(IEntitySource src, IEntity parent)
protected script Constructor
proto external EntityEvent SetEventMask(EntityEvent e)
proto external Managed FindComponent(typename typeName)
proto external EntityEvent ClearEventMask(EntityEvent e)
proto external EntityFlags SetFlags(EntityFlags flags, bool recursively=false)
proto external EntityPrefabData GetPrefabData()
static ScriptInvokerBase< MapConfigurationInvoker > GetOnMapClose()
Get on map close invoker.
static ScriptInvokerInt GetOnLayerChanged()
Get on layer changed invoker.
SCR_MapUIBaseComponent GetMapUIComponent(typename componentType)
bool IsOpen()
Check if the map is opened.
static SCR_MapEntity GetMapInstance()
Get map entity instance.
Attached to root of marker dynamic base layout.
SCR_EMapMarkerType GetType()
void GetImageResource(out ResourceName imageset, out string imageQuad)
void EOnFrame(IEntity owner, float timeSlice)
Authority side update.
void OnMapLayerChanged(int layerID)
void SetFaction(Faction faction)
void EOnInit(IEntity owner)
IEntity GetTarget()
Return entity this marker is tracking.
SCR_MapEntity m_MapEntity
void SCR_MapMarkerEntity(IEntitySource src, IEntity parent)
SCR_MapMarkerEntryDynamic m_ConfigEntry
void OnUpdateType()
used client side for initial visibility set
void LayerChangeLogic(int layerID)
void SetTarget(IEntity target)
Set entity this marker is tracking.
void OnMapClosed(MapConfiguration config)
SCR_EMapMarkerType m_eType
void OnUpdatePosition()
for override within children classes
void OnUpdate()
Called from SCR_MapMarkerManagerComponent.
vector GetWorldPos()
Get world position coordinates.
void SetType(SCR_EMapMarkerType type, int configID=-1)
void SetLocalVisible(bool state)
void SetGlobalVisible(bool state)
void SetText(string text)
void ~SCR_MapMarkerEntity()
void OnCreateMarker()
Fetch marker definition from config & create widget.
SCR_MapMarkerDynamicWComponent m_MarkerWidgetComp
void SetImage(string imageset, string icon)
void OnUpdateVisibility()
Create or destroy marker widget based on current state.
Marker dynamic entry base.
Markers UI map component.
SCR_FieldOfViewSettings Attribute
EntityEvent
Various entity events.
EntityFlags
Various entity flags.
RplCondition
Conditional replication rule. Fine grained selection of receivers.