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

Env beverage (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Line 1: Line 1:
{{tabs|env_beverage|goldsrc = 1|source = 1|main = source}}  
{{tabs|env_beverage|goldsrc = 1|source = 1|main = source}}  
{{This is a|name=env_beverage|e0|engine=1}} This entity dispenses [[item_sodacan (GoldSrc)|soda cans]].
{{this is a|point entity|name=env_beverage|engine=GoldSrc}} This entity dispenses [[item_sodacan (GoldSrc)|soda cans]].


==Key Values==
==Key Values==

Revision as of 21:04, 17 May 2024

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