This article's documentation is for the "GoldSrc" engine. Click here for more information.

env_beverage

From Valve Developer Community
Revision as of 21:04, 17 May 2024 by PeeBot (talk | contribs) (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Jump to navigation Jump to search

env_beverage is a point entity available in all GoldSrc GoldSrc games. This entity dispenses soda cans.

Key Values

Name (targetname) <string>
The targetname that other entities refer to this entity by.
Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
Capacity (health) <integer>
Number of cans in the dispenser.
Beverage Type (skin) <choices>
Which skin to use.
Value Description
0 Coca-Cola
1 Sprite
2 Diet Coke
3 Orange
4 Surge
5 Moxie
6 Random
Todo: Add skin descriptions from Source version of this page