|
Arma Reforger Script API
|
Public Member Functions | |
| override bool | OnMouseEnter (Widget w, int x, int y) |
| override bool | OnMouseLeave (Widget w, Widget enterW, int x, int y) |
| bool | EvaluateEntity (notnull IEntity entity) |
| Check if this entity can block player to enter a building mode. If such an entity is found, return false to stop evaluating next entity found by query. | |
Public Member Functions inherited from SCR_CampaignMapUIBase | |
| ScriptInvoker | GetOnMapIconEnter () |
| ScriptInvoker | GetOnMapIconClick () |
| int | GetBaseIconSize () |
| override bool | OnClick (Widget w, int x, int y, int button) |
| override void | SelectIcon (bool invoke=true) |
| void | FlashBaseIcon (Faction faction=null, bool changeToDefault=false) |
| override void | AnimExpand () |
| override void | AnimCollapse () |
| void | ShowServiceHint (string name, string text, bool show, int suppliesAmount=-1, int suppliesMax=-1) |
| override void | HandlerAttached (Widget w) |
| void | OnMapCloseInvoker (MapConfiguration config) |
| void | RemoveHint () |
| override void | HandlerDeattached (Widget w) |
| void | SetIconInfoText () |
| void | InitServices () |
| void | UpdateBaseIcon (int id) |
| void | InitBase (SCR_CampaignMilitaryBaseComponent base) |
| void | InitMobile (SCR_CampaignMobileAssemblyStandaloneComponent assembly) |
| void | ChangeBaseIconSize () |
| override void | ShowName (bool visible) |
| override vector | GetPos () |
| void | ChangeNameSize (bool visible) |
| void | ChangeNameSizeOnLayerChange (int layer) |
| string | GetFactionKey () |
| Color | GetFactionColor () |
| SCR_CampaignMilitaryBaseComponent | GetBase () |
| void | SetBaseIconFactionColor (Faction faction) |
| override void | SetImage (string image) |
| override RplId | GetSpawnPointId () |
| void | SetAntennaIconVisible (bool visible) |
| void | ~SCR_CampaignMapUIBase () |
Public Member Functions inherited from SCR_MapUIElement | |
| void | SetParent (SCR_MapUIElementContainer parent) |
| string | GetName () |
| bool | GetIconVisible () |
| void | SetVisible (bool visible) |
| Widget | GetRoot () |
| void | Select (bool select=true) |
| Color | GetColorForFaction (string factionKey) |
| void | SetName (string name) |
Public Member Functions inherited from SCR_ScriptedWidgetComponent | |
| Widget | GetRootWidget () |
| bool | IsVisible () |
Protected Member Functions | |
| override void | DeinitOpenButton (Widget w) |
| void | SetOpenButtonEnabled (bool enable) |
| Enables or disables button for entering the build mode. | |
| void | EvaluateBuildModeAvailability () |
| Checks all entities in vicinity of the base and if any entities blocking the build mode in the base are found. Enter build mode button is disabled. | |
Protected Member Functions inherited from SCR_CampaignMapUIBase | |
| void | SelectBase () |
| void | OnLeave () |
| bool | CanShowOpenButton () |
| void | InitOpenButton (Widget w) |
| void | OnOpenButtonActivated (SCR_InputButtonComponent button, string action) |
| void | FocusOnBase (SCR_SpawnPoint sp) |
| void | OnSelected (SCR_SpawnPoint sp) |
| void | ShowServices (bool show) |
| void | ShowBase (bool show) |
| void | UpdateIconAndText () |
| void | InitBaseIcon () |
| void | UpdateResources () |
| void | UpdateAssemblyIcon () |
| void | SetIconFaction (Faction faction) |
| void | SetBaseImage () |
| void | OnMapClose (MapConfiguration config) |
| void | SetIconName (string name) |
| void | CheckIfCanRespawn () |
| void | SetBaseType (SCR_ECampaignBaseType type) |
| void | SetBaseServices (SCR_CampaignMilitaryBaseComponent base) |
| void | OnGroupRallyPointChanged (SCR_AIGroup group) |
| void | SetRallyPointVisibility (SCR_AIGroup playerGroup=null) |
| void | SetRallyPointVisible (bool visible) |
Protected Member Functions inherited from SCR_MapUIElement | |
| void | PlayHoverSound (string sound) |
Static Protected Attributes | |
| const int | EVALUATE_BUILD_MODE_AVAILABILITY_DELAY = 3000 |
Static Protected Attributes inherited from SCR_CampaignMapUIBase | |
| static const float | OPACITY_DISABLED = 0.5 |
| static const float | OPACITY_UNSELECTED = 0.9 |
| static Widget | m_wServiceHint |
Static Protected Attributes inherited from SCR_MapUIElement | |
| static SCR_MapUIElement | s_SelectedElement |
| const float | ANIM_SPEED = 20 |
|
protected |
Implements SCR_CampaignMapUIBase.
|
protected |
Checks all entities in vicinity of the base and if any entities blocking the build mode in the base are found. Enter build mode button is disabled.
| bool SCR_CampaignOperationsMapUIBase.EvaluateEntity | ( | notnull IEntity | entity | ) |
Check if this entity can block player to enter a building mode. If such an entity is found, return false to stop evaluating next entity found by query.
| override bool SCR_CampaignOperationsMapUIBase.OnMouseEnter | ( | Widget | w, |
| int | x, | ||
| int | y ) |
Implements SCR_CampaignMapUIBase.
| override bool SCR_CampaignOperationsMapUIBase.OnMouseLeave | ( | Widget | w, |
| Widget | enterW, | ||
| int | x, | ||
| int | y ) |
Implements SCR_CampaignMapUIBase.
|
protected |
Enables or disables button for entering the build mode.
| [in] | enable |
|
staticprotected |