item_item_crate
Item Crate
KeyValues
- Model (model) <studio>
The model of this item_item_crate. Only works when this crate's appearance is set to use a custom model.
The model of this item_item_crate. Only works when this crate's appearance is set to use a custom model.
Inputs
- SetContents
<string>
Sets the crate's contents. (e.g. its specified item)
Sets the crate's contents. (e.g. its specified item)
- SetItemCount
<string>
Sets the item count.
Sets the item count.
- MergeContentsWithPlayer
<target_destination>
Gives whatever the crate contains to a player without doing anything to the crate itself. NOTE: This does not actually change the crate's contents on its own, if you want the crate to be empty after merging with a player, you must use SetItemCount or SetContents as well. (this input is also currently unsupported with template crates)
Gives whatever the crate contains to a player without doing anything to the crate itself. NOTE: This does not actually change the crate's contents on its own, if you want the crate to be empty after merging with a player, you must use SetItemCount or SetContents as well. (this input is also currently unsupported with template crates)
Outputs
- OnItem
<ehandle>
Fires for each item spawned by this crate.
Fires for each item spawned by this crate.
