prop_mapplaced_long_use_entity

From Source Entities
Jump to navigation Jump to search

Code classes:

prop_mapplaced_long_use_entity is a point entity present in Csgo-small.pngCounter-Strike: Global Offensive. It's an object that requires a player to continuously press +use on it to interact with it. It can also be used to show special icons when pinging. Once the time is up, the entity is sucked into the player like a vacuum regardless of all logic.

Keyvalues[edit | edit source]

Ping Type (pingtype) <choices>
What icon to show when a player pings this entity.
  • 0: Default (arrow pointing down)
  • 3: Item (eye)
  • 4: Danger (caution sign)
  • 5: Helmet
  • 6: Armor
  • 7: Armor and Helmet
  • 8: Ammunition
  • 9: Radar Jammer
  • 10: ExoJump
  • 11: Parachute
  • 12: Contract (person in crosshair)
  • 13: Tablet Upgrade (tablet)
  • 14: Money
Use Type (longuseactiontype) <choices>
What message to show when interacting with the object.
  • 0: Disabled (entity cannot be +used)
  • 1: Defusing without kit
  • 2: Defusing (with Kit)
  • 3: Hostage Pickup
  • 4: Hostage Drop-off
  • 5: Opening Safe (arming explosives)
  • 6: Equipping Parachute
  • 7: Equipping Heavy Armor
  • 8: Equipping Contract (high value target)
  • 9: Equipping Tablet Upgrade
  • 10: Taking off Heavy Armor
  • 11: Paying to Open Door
  • 12: Letting go of rope
  • 13: Equipping ExoJump
  • 14: Picking up Bump Mine
  • 15: Picking up Item
Use Duration (longuseduration) <float>
How long the player has to hold use for.
Sound name (soundstartuse) <sound>
A sound to play when starting to use the entity.

Outputs[edit | edit source]

OnUseCompleted
Fires when the use was completed.