sc2-gamedata
Public Attributes | List of all members
CBehaviorSpawn Class Reference

Spawn. More...

#include <Behavior.h>

Inheritance diagram for CBehaviorSpawn:
Inheritance graph
[legend]
Collaboration diagram for CBehaviorSpawn:
Collaboration graph
[legend]

Public Attributes

CFlags DisplayDuration
 Display Countdown. More...
 
std::vector< SSpawnInfoInfoArray
 Info Array. More...
 
CGamePoint Center
 Center. More...
 
std::vector< CGamePointOffset
 Offset. More...
 
CFixed Slop
 Slop. More...
 
CEffectLink Effect
 Effect. More...
 
CFixed Range
 Range. More...
 
CFlags Flags
 Flags (Spawn) More...
 
uint32 Limit
 Limit. More...
 
EDeathType LimitDeath
 Limit Death. More...
 
CBehaviorLink ConjoinedLink
 Conjoined Link. More...
 

Detailed Description

Spawn.

Remarks
Unknown

Member Data Documentation

◆ Center

CGamePoint CBehaviorSpawn::Center

Center.

Offset from the center of the owning unit of this behavior. This position will be the center position of the spawn offsets defined in the Offset field.

◆ ConjoinedLink

CBehaviorLink CBehaviorSpawn::ConjoinedLink

Conjoined Link.

◆ DisplayDuration

CFlags CBehaviorSpawn::DisplayDuration

Display Countdown.

Alignment of Players to which this behavior's countdown appears

Remarks
indexEnum: EBehaviorDisplay

◆ Effect

CEffectLink CBehaviorSpawn::Effect

Effect.

Effect that occurs when a unit spawns

◆ Flags

CFlags CBehaviorSpawn::Flags

Flags (Spawn)

Flags specific to the Spawn behavior type

Remarks
indexEnum: EBehaviorSpawnFlag

◆ InfoArray

std::vector<SSpawnInfo> CBehaviorSpawn::InfoArray

Info Array.

Array of parameters relating to units this behavior can spawn

◆ Limit

uint32 CBehaviorSpawn::Limit

Limit.

If this behavior spawns enough units to reach this limit, it will not spawn any more units until some of the existing units are destroyed.

◆ LimitDeath

EDeathType CBehaviorSpawn::LimitDeath

Limit Death.

◆ Offset

std::vector<CGamePoint> CBehaviorSpawn::Offset

Offset.

When a unit spawns, it will randomly select an offset from this list. This offset is then added to the offset described in the Center field. The new unit spawns at the resultant offset from the center of the spawning unit.

◆ Range

CFixed CBehaviorSpawn::Range

Range.

Distance away from the spawning unit that a new unit can spawn.

Remarks
minValue: 0
maxValue: 0

◆ Slop

CFixed CBehaviorSpawn::Slop

Slop.


The documentation for this class was generated from the following file: