ship_item_spawner
From Valve Developer Community
(Redirected from The Ship: Items)
# represents a digit from 1 to 3.Contents |
Entity Description
Item spawner
Keyvalues
-
Targetname:
- Name <string>
- The targetname other entities refer to this entity by.
-
EnableDisable:
- Start Disabled
<bool> - Stay dormant until activated (probably with the Enable input).
- SpawnItem1-5
- <choices> Items to spawn
- SpawnItemGroup
- <choices> List of predefined items
- none
- bludgeon
- books
- box
- cabin_desk
- cabin_dresser
- cabin_wardrobe
- doctorbag
- engineering
- entertainment
- female_clothing
- kitchen
- male_clothing
- needs_items
- ration_pack
- security
- shoot
- spawnable
- suitcase
- magazines
- medical
- weapons
- SpawnerPickDestType
- <choices> Destination type
Literal Value Description 0 All 1 All Same 2 Individual
- SpawnerPickItemType
- <choices> Item type
Literal Value Description 0 Random 1 Cyclic 2 Hybrid
- DestinationGroup
- <string> Destination Group. Multiple spawners can refer to the same group to concatinate their effects
- SpawnFrequency
- <float> Spawn frequency
- MaxLiveChildren
- <integer> Max objects
- MaxSpawns
- <integer> Max spawns
- NoDuplicateRadius
- <float> No duplicate items in specified radius of container
- RespawnDelay
- <float> Respawn delay
Inputs
-
Targetname:
-
Kill - Removes this entity from the world.
-
KillHierarchy - Removes this entity and all its children from the world.
-
AddOutput <string> - Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
- Format:
<key> <value> - Format:
<output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite> -
FireUser1toFireUser4 - Fire the
OnUseroutputs; see User Inputs and Outputs.
-
EnableDisable:
-
Enable -
Disable - Enable/disable this entity from performing its task. It might also disappear from view.
- Toggle
- Toggle item spawn
- Spawn
- Force item spawn
Outputs
-
Targetname:
-
OnUser1toOnUser4 - Fired in response to the
FireUserinputs; see User Inputs and Outputs. -
OnKilled(New with Left 4 Dead) - Fired when the entity is killed and removed from the game.
