tf_dropped_weapon
		
		
		
		
		
		Jump to navigation
		Jump to search
		
 Note:Upon picking up a dropped weapon, the original held weapon will not be returned.
Note:Upon picking up a dropped weapon, the original held weapon will not be returned.
 Bug:Spawning this entity through
Bug:Spawning this entity through 
	
		
	
|  Class hierarchy | 
|---|
| CTFDroppedWeapon | 
|  tf_dropped_weapon.cpp | 
tf_dropped_weapon  is a   model entity  available in  Team Fortress 2. This entity is used for dropped weapons and will store its weapon information from the player held weapon.
 Team Fortress 2. This entity is used for dropped weapons and will store its weapon information from the player held weapon. 
Players can perform a pickup option by performing+use_action_slot_itemwhile looking at this entity, and take the dropped weapon to be used as a player weapon. If the dropped weapon is a medigun then its charge will either slowly drop to 0% or, if the player suicided, set to 0%.
 Note:Upon picking up a dropped weapon, the original held weapon will not be returned.
Note:Upon picking up a dropped weapon, the original held weapon will not be returned. Bug:Spawning this entity through
Bug:Spawning this entity through ent_create will crash the game if the model KV is set, but not the actual item object.ConVars/Commands
| Cvar/Command | Parameters or default value | Descriptor | Effect | 
|---|---|---|---|
| tf_dropped_weapon | 30 | Arbitrary number (float) | Sets the lifetime of tf_dropped_weaponentities. |