Npc create equipment: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Replacing {{console command}}. This operation was performed by a bot.) |
||
(7 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{this is a|console command|name=npc_create_equipment}} | ||
The [[npc_create_equipment]] [[console variable]] allows you to specify a [[:Category:Weapons|weapon]] that will be given to an [[:Category:NPCs|NPC]] when <code>[[npc_create]]</code> is used. | The [[npc_create_equipment]] [[console variable]] allows you to specify a [[:Category:Weapons|weapon]] that will be given to an [[:Category:NPCs|NPC]] when <code>[[npc_create]]</code> is used. | ||
Line 19: | Line 18: | ||
[[Category:Debugging]] | [[Category:Debugging]] | ||
Latest revision as of 17:46, 7 January 2024
npc_create_equipment
is a console command available in all Source games.
The npc_create_equipment console variable allows you to specify a weapon that will be given to an NPC when
npc_create
is used.
Usage
- npc_create_equipment [weaponname]
- Sets the weapon to give to new NPCs to [weaponname].
- npc_create_equipment
- Returns the current weapon that will be given to new NPCs.