Class HordeEventEntry
- Namespace
- SurvivorsMaker.Data
- Assembly
- SurvivorsMaker.Data.dll
A one-shot, timed enemy formation with optional cap bypass and elite rolls.
public sealed class HordeEventEntry
- Inheritance
-
HordeEventEntry
- Inherited Members
Constructors
HordeEventEntry()
public HordeEventEntry()
Fields
AtSeconds
One-shot horde start time in seconds from wave start; nonnegative.
[Tooltip("One-shot horde start time in seconds from wave start; nonnegative.")]
public float AtSeconds
Field Value
Count
Nonnegative number of enemies to create; 0 creates none.
[Tooltip("Nonnegative number of enemies to create; 0 creates none.")]
public int Count
Field Value
Elite
Elite definition used when the elite roll succeeds; optional when chance is 0.
[Tooltip("Elite definition used when the elite roll succeeds; optional when chance is 0.")]
public EliteAsset Elite
Field Value
EliteChance
Elite roll probability per enemy, from 0 to 1; 0 = ordinary enemies.
[Tooltip("Elite roll probability per enemy, from 0 to 1; 0 = ordinary enemies.")]
public float EliteChance
Field Value
Enemy
Enemy asset to spawn; required for an enabled spawn request.
[Tooltip("Enemy asset to spawn; required for an enabled spawn request.")]
public EnemyAsset Enemy
Field Value
IgnoreMaxAlive
Allow this horde to exceed the wave hostile-enemy cap.
[Tooltip("Allow this horde to exceed the wave hostile-enemy cap.")]
public bool IgnoreMaxAlive
Field Value
Pattern
Horde placement pattern: ring, edge line or random arena positions.
[Tooltip("Horde placement pattern: ring, edge line or random arena positions.")]
public HordePattern Pattern
Field Value
Radius
Placement radius in world units; nonnegative, 0 uses the centre.
[Tooltip("Placement radius in world units; nonnegative, 0 uses the centre.")]
public float Radius
Field Value
Methods
ToDef()
Converts this authoring entry to a runtime definition, resolving asset references through their caches.
public HordeEventDef ToDef()