Env beverage (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{tabs|env_beverage|goldsrc = 1|source = 1|main = source}} {{This is a|name=env_beverage|e0|engine=1}} This entity dispenses soda cans. ==Key Values== {{hl1_kv_targetname}}...")
 
mNo edit summary
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 soda cans.
{{This is a|name=env_beverage|e0|engine=1}} This entity dispenses [[item_sodacan (GoldSrc)|soda cans]].


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

Revision as of 19:58, 15 May 2024

env_beverage is an e0 available in all Template:1 games.Template:1 topicon

Warning.pngWarning:
  • The {{{engine}}} parameter is inconsistent with the name defined by the {{1}} template.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

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