Func buyzone: Difference between revisions
Jump to navigation
Jump to search

(Updated) |
(updates) |
||
Line 1: | Line 1: | ||
{{base brush multi|func_buyzone|game1=Counter-Strike: Source|game2=Counter-Strike: Global Offensive}} | {{lang|Func buyzone}} | ||
{{base brush multi|func_buyzone|game1=Counter-Strike: Source|game2=Counter-Strike: Global Offensive}} It is used to define the "Buy Zones" used by players to purchase weapons and equipment. | |||
{{code class|CBuyZone|func_buy_zone.cpp}} | |||
== Keyvalues== | ==Keyvalues== | ||
{{KV|Team number (int) (TeamNum)|int|The team that can use the buyzone.}} | |||
{{KV|Team number|int|The team that can use the buyzone. | |||
:{| class=standard-table | :{| class=standard-table | ||
!| Value || Description | !| Value || Description | ||
|- | |- | ||
| | | -1 || None{{csgo}} | ||
|- | |- | ||
| 1 || All Teams | | 0 || None{{css}} All Teams{{csgo}} | ||
|- | |||
| 1 || All Teams{{css}} Unassigned?{{csgo}} | |||
|- | |- | ||
| 2 || Terrorist | | 2 || Terrorist | ||
Line 18: | Line 19: | ||
| 3 || Counter-Terrorist | | 3 || Counter-Terrorist | ||
|} | |} | ||
{{KV BaseTrigger}} | |||
{{KV BaseEntity|brush=1}} | |||
==Inputs== | ==Inputs== | ||
{{I | {{IO|SetTeam_TerroristOnly|since=CSGO|Restrict buyzone to terrorists only.}} | ||
{{IO|SetTeam_CTOnly|since=CSGO|Restrict buyzone to counter-terrorists only.}} | |||
{{IO|SetTeam_AllTeams|since=CSGO|Allows all teams to use the buyzone.}} | |||
{{IO|SetTeam_None|since=CSGO|Allows no team to use the buyzone, effectively disabling it. {{todo|Does this actually behave different from <code>Disable</code> in any way?}}}} | |||
{{I BaseTrigger|notf2=1}} | |||
{{I BaseEntity}} | |||
==Outputs== | ==Outputs== | ||
{{ | {{O BaseTrigger}} | ||
{{O BaseEntity}} |
Revision as of 04:31, 6 October 2018


Template:Base brush multi It is used to define the "Buy Zones" used by players to purchase weapons and equipment.
Keyvalues
|
Inputs
- SetTeam_TerroristOnly (in all games since
)
- Restrict buyzone to terrorists only.
- SetTeam_CTOnly (in all games since
)
- Restrict buyzone to counter-terrorists only.
- SetTeam_AllTeams (in all games since
)
- Allows all teams to use the buyzone.
- SetTeam_None (in all games since
)
- Allows no team to use the buyzone, effectively disabling it. Todo: Does this actually behave different from
Disable
in any way?
|
Outputs
|