asw_egg

From Source Entities
Jump to navigation Jump to search

Code classes:

Asw egg.png

asw_egg is a point entity present in Asw.pngAlien Swarm. It creates an "egg" that hatches when marines approach the general vicinity. These eggs spawn parasites, so preparation is critical. Eggs are easily disposed of with flames.

ConVars/Commands[edit | edit source]

ConVar/CommandParameters or default valueParameter TypeEffect
asw_egg_respawn00 disables, 1 enablesAfter the egg has hatched, another parasite will be created in 20 to 40 seconds. Appears to not fully function.

Keyvalues[edit | edit source]

Parasite Class (ParasiteClass) <string>
Not used in code.
Fixed Jump Direction (FixedJumpDir) <boolean>
If set, the parasite will always jump out in the direction the egg is facing.
Avoid Egg Chatter (SkipEggChatter) <boolean>
Prevents marines from mentioning the egg. They may still comment on the parasite.

Inputs[edit | edit source]

EggOpen
Opens the egg sac even if no marines are around. The egg will hatch shortly after!
EggHatch
Hatches the egg even if its not open.

Outputs[edit | edit source]

OnEggOpened
Fires when the egg starts to open. Activator is whoever walked into the egg's range or the !activator of the EggOpen input.
OnEggHatched
Fires when the parasite hatches.
OnEggDestroyed
Fires when the egg (sac) is destroyed. Activator is whoever damaged it to death.
OnEggReset (Not in FGD)
When using asw_egg_respawn, this fires when the egg resets.

See Also[edit | edit source]

  • Egg on the Alien Swarm wiki.