Arma Reforger Script API
|
Squad leader marker entry. More...
Public Member Functions | |
void | RegisterMarker (SCR_MapMarkerSquadLeader marker, SCR_AIGroup group) |
Register marker here so it can be fetched from the map. | |
void | UnregisterMarker (SCR_AIGroup group) |
override SCR_EMapMarkerType | GetMarkerType () |
Override this in child classes with own config entries to define type. | |
override void | InitServerLogic () |
Override this to set up logic & event behavior on server. | |
override void | InitClientLogic () |
Override this to set up logic & event behavior on client. | |
override void | OnMapLayerChangedDynamic (notnull SCR_MapMarkerDynamicWComponent widgetComp, int layerID) |
Override this to set up client side behavior for when map changes zoom layers. | |
override void | OnMapOpen (notnull SCR_MapEntity mapEnt, notnull SCR_MapMarkersUI markerUIComp) |
Override this to set up client side behavior on map open. | |
override void | OnMapInit (notnull SCR_MapEntity mapEnt, notnull SCR_MapMarkersUI markerUIComp) |
Override this to set up client side behavior on map init. | |
Public Member Functions inherited from SCR_MapMarkerEntryDynamic | |
ResourceName | GetMarkerPrefab () |
override void | InitServerLogic () |
Override this to set up logic & event behavior on server. | |
override void | InitClientSettingsDynamic (notnull SCR_MapMarkerEntity marker, notnull SCR_MapMarkerDynamicWComponent widgetComp) |
Client side initialization of visuals or other client logic for dynamic markers Override this in children where wanted. | |
Public Member Functions inherited from SCR_MapMarkerEntryConfig | |
SCR_EMapMarkerType | GetMarkerType () |
Override this in child classes with own config entries to define type. | |
ResourceName | GetMarkerLayout () |
void | InitClientSettings (SCR_MapMarkerBase marker, SCR_MapMarkerWidgetComponent widgetComp) |
Client side initialization of visuals or other client logic Override this in children where wanted. | |
void | InitClientSettingsDynamic (notnull SCR_MapMarkerEntity marker, notnull SCR_MapMarkerDynamicWComponent widgetComp) |
Client side initialization of visuals or other client logic for dynamic markers Override this in children where wanted. | |
void | InitServerLogic () |
Override this to set up server side logic & event behavior for dynamic markers. | |
void | InitClientLogic () |
Override this to set up logic & event behavior on client. | |
void | OnMapLayerChanged (notnull SCR_MapMarkerWidgetComponent widgetComp, int layerID) |
Override this to set up client side behavior for when map changes zoom layers. | |
void | OnMapLayerChangedDynamic (notnull SCR_MapMarkerDynamicWComponent widgetComp, int layerID) |
Override this to set up client side behavior for when map changes zoom layers. | |
void | OnMapInit (notnull SCR_MapEntity mapEnt, notnull SCR_MapMarkersUI markerUIComp) |
Override this to set up client side behavior on map init. | |
void | OnMapOpen (notnull SCR_MapEntity mapEnt, notnull SCR_MapMarkersUI markerUIComp) |
Override this to set up client side behavior on map open. | |
void | OnMapClose (notnull SCR_MapEntity mapEnt, notnull SCR_MapMarkersUI markerUIComp) |
Override this to set up client side behavior on map close. | |
Protected Member Functions | |
void | FocusCurrentSquad () |
Pans the map to your own squad. | |
void | UpdateToolEntryState () |
Enables/disables the map tool button for panning to your squad. | |
void | OnPlayableGroupCreated (SCR_AIGroup group) |
SCR_GroupsManagerComponent event. | |
void | OnPlayableGroupRemoved (SCR_AIGroup group) |
SCR_GroupsManagerComponent event. | |
void | OnPlayerLeaderChanged (int groupID, int playerId) |
SCR_AIGroup event. | |
void | OnPlayerAdded (SCR_AIGroup group, int playerId) |
SCR_AIGroup event. | |
void | OnPlayerRemoved (SCR_AIGroup group, int playerId) |
SCR_AIGroup event. | |
void | OnPlayerSpawned (int playerId, IEntity player) |
SCR_BaseGameMode event. | |
void | OnPlayerKilled (notnull SCR_InstigatorContextData instigatorContextData) |
SCR_BaseGameMode event. | |
void | OnPlayerDeleted (int playerId, IEntity player) |
SCR_BaseGameMode event. | |
void | OnGroupCustomNameChanged (SCR_AIGroup group) |
SCR_AIGroup event. | |
void | UpdateMarkerTarget (int playerID) |
Update marker target, will trigger creation of a marker if within map. | |
Protected Attributes | |
SCR_GroupsManagerComponent | m_GroupsManager |
SCR_MapToolEntry | m_ToolMenuEntry |
SCR_AIGroup | m_bCurrentSquad |
ref map< SCR_AIGroup, SCR_MapMarkerSquadLeader > | m_mGroupMarkers = new map<SCR_AIGroup, SCR_MapMarkerSquadLeader>() |
Protected Attributes inherited from SCR_MapMarkerEntryDynamic | |
ResourceName | m_sMarkerPrefab |
SCR_MapMarkerManagerComponent | m_MarkerMgr |
Protected Attributes inherited from SCR_MapMarkerEntryConfig | |
ResourceName | m_sMarkerLayout |
Squad leader marker entry.
|
protected |
Pans the map to your own squad.
override SCR_EMapMarkerType SCR_MapMarkerEntrySquadLeader.GetMarkerType | ( | ) |
Override this in child classes with own config entries to define type.
Implements SCR_MapMarkerEntryConfig.
override void SCR_MapMarkerEntrySquadLeader.InitClientLogic | ( | ) |
Override this to set up logic & event behavior on client.
Implements SCR_MapMarkerEntryConfig.
override void SCR_MapMarkerEntrySquadLeader.InitServerLogic | ( | ) |
Override this to set up logic & event behavior on server.
Implements SCR_MapMarkerEntryDynamic.
|
protected |
SCR_AIGroup event.
override void SCR_MapMarkerEntrySquadLeader.OnMapInit | ( | notnull SCR_MapEntity | mapEnt, |
notnull SCR_MapMarkersUI | markerUIComp | ||
) |
Override this to set up client side behavior on map init.
Implements SCR_MapMarkerEntryConfig.
override void SCR_MapMarkerEntrySquadLeader.OnMapLayerChangedDynamic | ( | notnull SCR_MapMarkerDynamicWComponent | widgetComp, |
int | layerID | ||
) |
Override this to set up client side behavior for when map changes zoom layers.
Implements SCR_MapMarkerEntryConfig.
override void SCR_MapMarkerEntrySquadLeader.OnMapOpen | ( | notnull SCR_MapEntity | mapEnt, |
notnull SCR_MapMarkersUI | markerUIComp | ||
) |
Override this to set up client side behavior on map open.
Implements SCR_MapMarkerEntryConfig.
|
protected |
SCR_GroupsManagerComponent event.
|
protected |
SCR_GroupsManagerComponent event.
|
protected |
SCR_AIGroup event.
|
protected |
SCR_BaseGameMode event.
|
protected |
SCR_BaseGameMode event.
|
protected |
SCR_AIGroup event.
|
protected |
SCR_AIGroup event.
|
protected |
SCR_BaseGameMode event.
void SCR_MapMarkerEntrySquadLeader.RegisterMarker | ( | SCR_MapMarkerSquadLeader | marker, |
SCR_AIGroup | group | ||
) |
Register marker here so it can be fetched from the map.
void SCR_MapMarkerEntrySquadLeader.UnregisterMarker | ( | SCR_AIGroup | group | ) |
|
protected |
Update marker target, will trigger creation of a marker if within map.
|
protected |
Enables/disables the map tool button for panning to your squad.
|
protected |
|
protected |
|
protected |
|
protected |