Moderator elections are being held. See Valve Developer Community:Moderator elections for more details.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.
scripted_item_drop
![]() |
---|
CScriptItem |
scripted_item_drop
is a point entity available in Left 4 Dead 2. It is a prop similar to prop_physics_override, but with much of its functionality removed. It does not collide with players and has outputs for being touched and picked up, making it useful for simple collectible items.
Outputs
OnCacheInteraction
!FGD- Fires repeatedly while player is touching this
OnPlayerPickup
!FGD- Fired when a player successfully picks up the prop. The CanPickupObject function needs to exist and return true for the prop for it to fire.
OnPlayerTouch
!FGD- Fired when a player touches the prop.