Difference between revisions of "Logic pickupdrop"
Jump to navigation
Jump to search
Johnny moe (talk | contribs) (Created page with "Controls events when players pickup or drop things. == Keyvalues == '''Entity to Watch''' <target_destination) : Name of the entity to watch (for outputs). == Inputs == '''...") |
Johnny moe (talk | contribs) |
||
Line 27: | Line 27: | ||
: Activator is the player, caller is the entity that was picked up. | : Activator is the player, caller is the entity that was picked up. | ||
__NOEDITSECTION___ |
Revision as of 20:42, 12 May 2019
Controls events when players pickup or drop things.
Keyvalues
Entity to Watch <target_destination)
- Name of the entity to watch (for outputs).
Inputs
input ForceDrop <string>
- Forces the dropping of something that's picked up by a human.
input DisablePickup <string>
- Disables human pickups for the specified entity. Does not force dropping if currently carried, use the above input.
input EnablePickup <string>
- Enables human pickups for the specified entity.
Outputs
output OnPickedUp <void>
- Activator is the player, caller is the entity that was picked up.
output OnDropped <void>
- Activator is the player, caller is the entity that was picked up.
_