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

env_beverage

From Valve Developer Community
Jump to: navigation, search

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

Key Values


Targetname:
Name (targetname) <targetname>
The targetname that other entities refer to this entity by.

Angles:
Pitch Yaw Roll (Y Z X) (angles) <angle>
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