|
readonly Identifier | SpeciesName |
| The name of the species to spawn.
|
|
readonly int | MinAmount |
| Minimum amount of monsters to spawn. You can also use "Amount" if you want to spawn a fixed number of monsters.
|
|
readonly int | MaxAmount |
| Maximum amount of monsters to spawn. You can also use "Amount" if you want to spawn a fixed number of monsters.
|
|
readonly float | SpawnDistance |
| The monsters are spawned at least this distance away from the players and submarines.
|
|
readonly Level.PositionType | SpawnPosType |
| Where should the monster spawn?
|
|
readonly int | MaxAmountPerLevel = int.MaxValue |
| Maximum number of the specific type of monster in the entire level. Can be used to prevent the event from spawning more monsters if there's already enough of that type of monster, e.g. spawned by another event or by a mission.
|
|
readonly int | RandomSeed |
|
Func< Level.InterestingPosition, bool > | SpawnPosFilter |
|
◆ MonsterEvent()
Barotrauma.MonsterEvent.MonsterEvent |
( |
EventPrefab | prefab, |
|
|
int | seed ) |
◆ GetDebugInfo()
override string Barotrauma.MonsterEvent.GetDebugInfo |
( |
| ) |
|
|
virtual |
◆ GetFilesToPreload()
override IEnumerable< ContentFile > Barotrauma.MonsterEvent.GetFilesToPreload |
( |
| ) |
|
|
virtual |
◆ InitEventSpecific()
override void Barotrauma.MonsterEvent.InitEventSpecific |
( |
EventSet | parentSet | ) |
|
|
protectedvirtual |
◆ ToString()
override string Barotrauma.MonsterEvent.ToString |
( |
| ) |
|
◆ Update()
override void Barotrauma.MonsterEvent.Update |
( |
float | deltaTime | ) |
|
|
virtual |
◆ MaxAmount
readonly int Barotrauma.MonsterEvent.MaxAmount |
Maximum amount of monsters to spawn. You can also use "Amount" if you want to spawn a fixed number of monsters.
◆ MaxAmountPerLevel
readonly int Barotrauma.MonsterEvent.MaxAmountPerLevel = int.MaxValue |
Maximum number of the specific type of monster in the entire level. Can be used to prevent the event from spawning more monsters if there's already enough of that type of monster, e.g. spawned by another event or by a mission.
◆ MinAmount
readonly int Barotrauma.MonsterEvent.MinAmount |
Minimum amount of monsters to spawn. You can also use "Amount" if you want to spawn a fixed number of monsters.
◆ SpawnDistance
readonly float Barotrauma.MonsterEvent.SpawnDistance |
The monsters are spawned at least this distance away from the players and submarines.
◆ SpawnPosType
Where should the monster spawn?
◆ SpeciesName
readonly Identifier Barotrauma.MonsterEvent.SpeciesName |
The name of the species to spawn.
◆ DebugDrawPos
override Vector2 Barotrauma.MonsterEvent.DebugDrawPos |
|
get |
◆ Monsters
IReadOnlyList<Character> Barotrauma.MonsterEvent.Monsters |
|
get |
◆ SpawnPending
bool Barotrauma.MonsterEvent.SpawnPending |
|
get |
◆ SpawnPos
Vector2? Barotrauma.MonsterEvent.SpawnPos |
|
get |
The documentation for this class was generated from the following file:
- /home/runner/work/Luatrauma.Docs/Luatrauma.Docs/libs/LuaCsForBarotrauma/Barotrauma/BarotraumaShared/SharedSource/Events/MonsterEvent.cs