Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_WallGroup.c
Go to the documentation of this file.
1
5
class
SCR_WallGroup
6
{
7
ref array<ref SCR_WallPair> m_aWallPairs = {};
8
ref array<float> m_aWeights = {};
9
10
float
m_fWallLength;
11
12
//------------------------------------------------------------------------------------------------
15
SCR_WallPair
GetRandomWall(
float
value01)
16
{
17
int
index
=
SCR_ArrayHelper
.GetWeightedIndex(m_aWeights, value01);
18
return
m_aWallPairs.Get(
index
);
19
}
20
}
index
SCR_DestructionSynchronizationComponentClass ScriptComponentClass int index
Definition
SCR_DestructionSynchronizationComponent.c:17
SCR_ArrayHelper
Definition
SCR_ArrayHelper.c:2
SCR_WallGroup
Definition
SCR_WallGroup.c:6
SCR_WallPair
Definition
SCR_WallPair.c:2
scripts
Game
Generators
WallGenerator
SCR_WallGroup.c
Generated by
1.17.0