asw_bait
Jump to navigation
Jump to search
This entity is not in the stock FGD files by default.
|
Code classes:
CASW_Bait
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
(models)CBaseEntity
(all ents)
asw_bait
is a point entity present in Alien 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.
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."
[
]