asw_bait

From Source Entities
Jump to navigation Jump to search
Info.png

This entity is not in the stock FGD files by default.
See below for instructions on making it available.

asw_bait is a point entity present in Asw.pngAlien Swarm. It's a projectile normally launched by an asw_weapon_bait entity. It distracts and attracts aliens within a radius for a short period of time. The code reveals this entity is a variation of Half-Life 2's env_flare.

Note: This bait will only stay for 30 seconds after being created. Spawning these directly is best done in tandem with point_template.

Tip: Rotate the entity 90 degrees so that it lays flat.

Asw bait.png

FGD Code[edit | edit source]

Copy to any valid FGD.

@PointClass base(Targetname, Parentname, Angles) studioprop("models/swarm/Flare/flareweapon.mdl") = asw_bait : "Bait. Aliens are attracted to it."
[
]