Func buyzone: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:


To choose what team you want to use the buyzone with (terrorist or counter-terrorist) you simply change the team number (default is "0") to either Counter-Terrorist or Terrorist.
To choose what team you want to use the buyzone with (terrorist or counter-terrorist) you simply change the team number (default is "0") to either Counter-Terrorist or Terrorist.
== Keyvalues==


* '''targetname'''
: <string> Name given to the entity
* '''Team number (int)'''
: <choices> The team that can use the buyzone.
:{| class=standard-table
!| Value || Description
|-
| 1 || 0
|-
| 2 || Terrorist
|-
| 3 || Counter-Terrorist
|}
[[Category:Counter-Strike: Source Entities]]
[[Category:Counter-Strike: Source Entities]]

Revision as of 07:58, 1 August 2011

Stub

This article or section is a stub. You can help by expanding it.

Template:Css brush

To create a buyzone you need a brush where you want the buyzone to be, with the texture Trigger, then once you have that select the brush and press Ctrl+T and change the class to func_buyzone.

Selecting the team

To choose what team you want to use the buyzone with (terrorist or counter-terrorist) you simply change the team number (default is "0") to either Counter-Terrorist or Terrorist.

Keyvalues

  • targetname
<string> Name given to the entity
  • Team number (int)
<choices> The team that can use the buyzone.
Value Description
1 0
2 Terrorist
3 Counter-Terrorist