ai_goal_lead_weapon

From Source Entities
Jump to navigation Jump to search

Code classes:

Ai goal lead.png

ai_goal_lead_weapon is a point entity present in all games except the L4d.pngL4d2-small.pngLeft 4 Dead games. It makes an NPC lead a player somewhere once the player picks up a certain weapon.

Warning: This entity may unintentionally give the player bugbait. See here for fixes.

Keyvalues[edit | edit source]

Weapon (WeaponName) <choices>
Weapon Name. Turn off SmartEdit to insert any weapon classname (e.g. weapon_crowbar)
Missing weapon concept modifier (MissingWeaponConceptModifier) <string>
Appended to the keyvalues passed into the response rules when the TLK_LEAD_MISSINGWEAPON concept is spoken.