Logic pickupdrop
Revision as of 20:43, 12 May 2019 by Johnny moe (talk | contribs)
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.