Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
MapEntity.c
Go to the documentation of this file.
1 /*
2 ===========================================
3 Do not modify, this script is generated
4 ===========================================
5 */
6 
12 class MapEntityClass: GenericEntityClass
13 {
14 }
15 
16 class MapEntity: GenericEntity
17 {
18  proto external void UpdateTexts();
20  proto external void AbsorbData();
22  proto external vector Size();
24  proto external float TerrainUnitScale();
26  proto external void SetSelection( vector start, vector end );
28  proto external void ResetSelection();
30  proto external void SetFrame( vector start, vector end );
32  proto external void ZoomChange( float level );
34  proto external void PosChange( float x, float y );
36  proto external void CursorChange( float x, float y );
38  proto external float MinElevation();
40  proto external float MaxElevation();
42  proto external float ElevationAt( vector pos );
44  proto external void ShowDiag( bool bEnable );
49  proto external MapItem CreateCustomMapItem();
51  proto external int CountOfVisible();
53  proto external MapItem GetVisible( int iIndex );
55  proto external int GetVisibleAll( out notnull array<MapItem> outItems);
57  proto external int GetInsideRect( out notnull array<MapItem> outItems, vector from, vector to );
59  proto external int GetInsideCircle( out notnull array<MapItem> outItems, vector origin, float range );
61  proto external MapItem GetClose( vector origin, float range );
63  proto external int GetSelected( out notnull array<MapItem> outItems );
65  proto external int GetByType( out notnull array<MapItem> outItems, /*EMapDescriptorType*/ int type );
67  proto external void ResetSelected();
69  proto external void ResetHovering();
71  proto external void ResetHighlighted();
73  proto external void ShowMultiple( int type, bool bEnable );
75  proto external void ShowEditor( bool bEnable );
77  proto external void ShowDebug( bool bEnable );
79  proto external void EnableVisualisation( bool bValue );
81  proto external void EnableGrid( bool bValue );
83  proto external void EnableOverlay( bool bValue );
85  proto external protected void EnableLegend( bool bValue );
87  proto external void InitializeLayers(int count, int factionSize = 4);
89  proto external int LayerCount();
91  proto external MapLayer GetLayer( int index );
93  proto external void SetLayer( int index );
95  proto external int GetLayerIndex();
97  proto external void SetImagesetMapping(notnull array<int> values);
98 }
99 
GetInsideRect
proto external int GetInsideRect(out notnull array< MapItem > outItems, vector from, vector to)
Get entities in rectangle. Flips the screen y-axis before performing its operation.
GetLayer
proto external MapLayer GetLayer(int index)
Get layer by Index.
EnableOverlay
proto external void EnableOverlay(bool bValue)
Enable/ Disable overlay.
ZoomChange
proto external void ZoomChange(float level)
Set new zoom.
GetVisibleAll
proto external int GetVisibleAll(out notnull array< MapItem > outItems)
Gets all the visible map entities in the current view.
CursorChange
proto external void CursorChange(float x, float y)
Set new pos of cursor.
SetImagesetMapping
proto external void SetImagesetMapping(notnull array< int > values)
Sets corresponding multiple imageset indices for MapDescriptors usage.
ResetHighlighted
proto external void ResetHighlighted()
Reset all entity highlighted tag.
GetByType
proto external int GetByType(out notnull array< MapItem > outItems, int type)
Get entities by descriptor type.
EnableLegend
proto external protected void EnableLegend(bool bValue)
Enable/ Disable legend.
GetSelected
proto external int GetSelected(out notnull array< MapItem > outItems)
Get all selected entities.
InitializeLayers
proto external void InitializeLayers(int count, int factionSize=4)
Clear layer setup + set new layer count.
UpdateTexts
MapEntityClass GenericEntityClass UpdateTexts()
GenericEntity
SCR_GenericBoxEntityClass GenericEntity
GetClose
proto external MapItem GetClose(vector origin, float range)
Get entities in rectangle. Flips the screen y-axis before performing its operation.
EnableVisualisation
proto external void EnableVisualisation(bool bValue)
Enable/ Disable visualisation.
LayerCount
proto external int LayerCount()
Get layer count.
MapItem
Definition: MapItem.c:12
MapEntityClass
Definition: MapEntity.c:12
AbsorbData
proto external void AbsorbData()
Absorb world data and create precalculated form for visualisation.
MinElevation
proto external float MinElevation()
Minimal map elevation.
ShowDiag
proto external void ShowDiag(bool bEnable)
Show/ Hide diag.
GetInsideCircle
proto external int GetInsideCircle(out notnull array< MapItem > outItems, vector origin, float range)
Get entities in circle. Flips the screen y-axis before performing its operation.
GetLayerIndex
proto external int GetLayerIndex()
Returns -1 if no valid index previously set.
index
SCR_DestructionSynchronizationComponentClass ScriptComponentClass int index
Definition: SCR_DestructionSynchronizationComponent.c:17
ShowMultiple
proto external void ShowMultiple(int type, bool bEnable)
Show/ hide multiple items by type (EMapDescriptorType) of item.
TerrainUnitScale
proto external float TerrainUnitScale()
Terrain unit scale.
ResetSelection
proto external void ResetSelection()
Reset selection to visualise (from -> to)
type
EDamageType type
Definition: SCR_DestructibleTreeV2.c:32
SetLayer
proto external void SetLayer(int index)
Set active layer.
ResetHovering
proto external void ResetHovering()
Reset all entity hovering tag.
CreateCustomMapItem
proto external MapItem CreateCustomMapItem()
Create custom representation from script This representation has no entity and you have to support po...
MaxElevation
proto external float MaxElevation()
Maximal map elevation.
ResetSelected
proto external void ResetSelected()
Reset all entity selection.
ShowEditor
proto external void ShowEditor(bool bEnable)
Show/ hide editor items.
CountOfVisible
proto external int CountOfVisible()
Count of visible.
PosChange
proto external void PosChange(float x, float y)
Set new pos of map.
ElevationAt
proto external float ElevationAt(vector pos)
Get elevation at coords.
ShowDebug
proto external void ShowDebug(bool bEnable)
Show/ hide debug items (camera, map sizes)
GetVisible
proto external MapItem GetVisible(int iIndex)
Visible by index.
SetSelection
proto external void SetSelection(vector start, vector end)
Set selection to visualise (from -> to)
MapLayer
Definition: MapLayer.c:12
SetFrame
proto external void SetFrame(vector start, vector end)
Set frame to visualise (from -> to)
EnableGrid
proto external void EnableGrid(bool bValue)
Enable/ Disable grid visibility.
Size
proto external vector Size()
Terrain dimensions (x, height = maxElevation-minElevation, z)