Ru/Func button: Difference between revisions

From Valve Developer Community
< Ru
Jump to navigation Jump to search
mNo edit summary
Line 13: Line 13:




==Значения параметров==
==Keyvalues==
{{KV|Move Direction (Pitch Yaw Roll) (movedir) <code><[[angle:ru|angle]]></code> Указывает направление движения кнопки при её использовании.}}
{{KV|Move Direction (Pitch Yaw Roll)|intn=movedir|angle|Specifies the direction of motion to move when the button is used.}}
{{KV|Speed (speed) <code><[[integer:ru|integer]]></code> Скорость, с которой движется кнопка, единицы в секунду.}}
{{KV|Speed|intn=speed|integer|The speed that the button moves, in units per second.}}
{{KV|Health (Obsolete) (health) <code><[[integer:ru|integer]]></code> Устаревший метод определения того, можно ли нажать кнопку, чтобы её активировать. Вместо этого используйте флаг ''Damage Activates''.}}
{{KV|Health (Obsolete)|intn=health|integer|Legacy method of specifying whether or not the button can be shot to activate it. Use the ''Damage Activates'' spawnflag instead.}}
{{KV|Lip (lip) <code><[[integer:ru|integer]]></code> Длина кнопки, чтобы оставить её торчащей из стены, в которую она отступает при нажатии, в дюймах. Отрицательные значения заставляют кнопку отступать внутрь стены.}}
{{KV|Lip|intn=lip|integer|The amount, in inches, of the button to leave sticking out of the wall it recedes into when pressed. Negative values make the button recede even further into the wall.}}
{{KV|Master (Obsolete) (master) <code><[[string:ru|string]]></code> Устаревшая поддержка: имя главной энтити. Если master не был активирован, кнопка не может быть нажата.}}
{{KV|Master (Obsolete)|intn=master|string|Legacy support: The name of a master entity. If the master hasn't been activated, this button cannot be pressed.}}
{{KV|Sounds (sounds) <code><[[choices:ru|choices]]></code> Звук, который кнопка издает при нажатии. {{note:ru|Список ниже был составлен для Half-Life 2. Все игры поддерживают это значение, но некоторые не имеют такого количества звуковых файлов. Чтобы отредактировать эти звуки, посмотрите на <code>Buttons.snd</code> (далее следует число из столбца Value в этой таблице) в <code>hl2/scripts/game_sounds_world.txt</code> или соответствующий {{en}}[https://developer.valvesoftware.com/wiki/Soundscripts файл звукового скрипта] вашей игры.}}}}
{{KV|Sounds|intn=sounds|choices|Make this button emit a sound when pressed. {{ModernNote|The list below was made for Half-Life 2. All games support this keyvalue, but some don't have a number of these sound files. To edit these sounds, look for <code>Buttons.snd</code> (followed by a number from the Value column in this table) in <code>hl2/scripts/game_sounds_world.txt</code> or your game's appropriate [[Soundscript]] file.}}}}
 
:{| class="standard-table mw-collapsible mw-collapsed"
:{| class=standard-table
! Значение || Описание || Звук по умолчанию
! Значение || Описание || Стандартный звук
|-
|-
| Кнопки
| Кнопки
|-
|-
| <code>0</code> || None (Silent) || common/null.wav
| <code>0</code> || None (Silent) || {{sound|common/null.wav}}
|-
|-
| <code>1</code> || Big zap & Warmup || buttons/button1.wav
| <code>1</code> || Big zap & Warmup || {{sound|buttons/button1.wav}}
|-
|-
| <code>2</code> || Access Denied || buttons/button2.wav
| <code>2</code> || Access Denied || {{sound|buttons/button2.wav}}
|-
|-
| <code>3</code> || Access Granted || buttons/button3.wav
| <code>3</code> || Access Granted || {{sound|buttons/button3.wav}}
|-
|-
| <code>4</code> || Quick Combolock || buttons/button4.wav
| <code>4</code> || Quick Combolock || {{sound|buttons/button4.wav}}
|-
|-
| <code>5</code> || Power Deadbolt 1 || buttons/button5.wav
| <code>5</code> || Power Deadbolt 1 || {{sound|buttons/button5.wav}}
|-
|-
| <code>6</code> || Power Deadbolt 2 || buttons/button6.wav
| <code>6</code> || Power Deadbolt 2 || {{sound|buttons/button6.wav}}
|-
|-
| <code>7</code> || PLunger || buttons/button7.wav
| <code>7</code> || Plunger || buttons/button7.wav
|-
|-
| <code>8</code> || Small zap || buttons/button8.wav
| <code>8</code> || Small zap || {{sound|buttons/button8.wav}}
|-
|-
| <code>9</code> || Keycard Sound || buttons/button9.wav
| <code>9</code> || Keycard Sound || {{sound|buttons/button9.wav}}
|-
|-
| <code>10</code> || Buzz || buttons/button10.wav
| <code>10</code> || Buzz || {{sound|buttons/button10.wav}}
|-
|-
| <code>11</code> || Buzz Off || buttons/button11.wav
| <code>11</code> || Buzz Off || buttons/button11.wav
|-
|-
| <code>12</code> || Latch Locked || doors/latchlocked2.wav
| <code>12</code> || latch locked || doors/latchlocked2.wav
|-
|-
| <code>13</code> || Latch Unlocked || doors/latchunlocked1.wav
| <code>13</code> || Latch Unlocked || doors/latchunlocked1.wav
Line 56: Line 55:
| <code>14</code> || Lightswitch || buttons/lightswitch2.wav
| <code>14</code> || Lightswitch || buttons/lightswitch2.wav
|-
|-
| <code>15</code> || Small bleek || buttons/button15.wav
| <code>15</code> || small bleek || {{sound|buttons/button15.wav}}
|-
|-
| <code>16</code> || Small deny || buttons/button16.wav
| <code>16</code> || small deny || {{sound|buttons/button16.wav}}
|-
|-
| <code>17</code> || Small doop || buttons/button17.wav
| <code>17</code> || small doop || {{sound|buttons/button17.wav}}
|-
|-
| <code>18</code> || Small tech deny || buttons/button18.wav
| <code>18</code> || small tech deny || {{sound|buttons/button18.wav}}
|-
|-
| <code>19</code> || Click and Combine screen fuzz || buttons/button19.wav
| <code>19</code> || click and combine screen fuzz || {{sound|buttons/button19.wav}}
|-
|-
| <code>20</code> || Roomy Beep || buttons/button20.wav
| <code>20</code> || roomy beep || buttons/button20.wav
|-
|-
| Рычаги
| Рычаги
|-
|-
| <code>21</code> || lever or wheel: turn + move sqeek || buttons/lever1.wav
| <code>21</code> || lever or wheel: turn + move sqeek || {{sound|buttons/lever1.wav}}
|-
|-
| <code>22</code> || lever or wheel: latch + release gas || buttons/lever2.wav
| <code>22</code> || lever or wheel: latch + release gas || {{sound|buttons/lever2.wav}}
|-
|-
| <code>23</code> || lever or wheel: ratchet + sqeek || buttons/lever3.wav
| <code>23</code> || lever or wheel: ratchet + sqeek || {{sound|buttons/lever3.wav}}
|-
|-
| <code>24</code> || lever or wheel: large ratchet || buttons/lever4.wav
| <code>24</code> || lever or wheel: large ratchet || {{sound|buttons/lever4.wav}}
|-
|-
| <code>25</code> || lever or wheel: clanky + gas release || buttons/lever5.wav
| <code>25</code> || lever or wheel: clanky + gas release || {{sound|buttons/lever5.wav}}
|-
|-
| <code>26</code> || lever or wheel: latch + large metal thud || buttons/Lever6.wav
| <code>26</code> || lever or wheel: latch + large metal thud || {{sound|buttons/lever6.wav}}
|-
|-
| <code>27</code> || lever or wheel: smaller ratchet || buttons/Lever7.wav
| <code>27</code> || lever or wheel: smaller ratchet || {{sound|buttons/lever7.wav}}
|-
|-
| <code>28</code> || lever or wheel: smaller lever move || buttons/Lever8.wav
| <code>28</code> || lever or wheel: smaller lever move || {{sound|buttons/lever8.wav}}
|-
|-
| Новые кнопки
| Новые кнопки
Line 94: Line 93:
| <code>33</code> || tech blip || buttons/button23.wav
| <code>33</code> || tech blip || buttons/button23.wav
|-
|-
| <code>34</code> || clickbeepbeep open || buttons/button24.wav
| <code>34</code> || clickbeepbeep open || {{sound|buttons/button24.wav}}
|-
|-
| <code>35</code> || small high blip || buttons/button12.wav
| <code>35</code> || small high blip || buttons/button12.wav
Line 100: Line 99:
| <code>36</code> || small tech fuzz blip || buttons/button13.wav
| <code>36</code> || small tech fuzz blip || buttons/button13.wav
|-
|-
| <code>37</code> || small click bleep (change to lightswitch) || buttons/button14.wav
| <code>37</code> || small click bleep (change to lightswitch) || {{sound|buttons/button14.wav}}
|-
|-
| Кнопки комбайнов
| Кнопки Комбайнов
|-
|-
| <code>40</code> || combine door lock - locked || buttons/combine_button_locked.wav
| <code>40</code> || combine door lock - locked || {{sound|buttons/combine_button_locked.wav}}
|-
|-
| <code>41</code> || combine blip growl || buttons/combine_button1.wav
| <code>41</code> || combine blip growl || {{sound|buttons/combine_button1.wav}}
|-
|-
| <code>42</code> || combine squick growl || buttons/combine_button2.wav
| <code>42</code> || combine squick growl || {{sound|buttons/combine_button2.wav}}
|-
|-
| <code>43</code> || combine whine purr || buttons/combine_button3.wav
| <code>43</code> || combine whine purr || {{sound|buttons/combine_button3.wav}}
|-
|-
| <code>44</code> || combine click talk || buttons/combine_button4.wav
| <code>44</code> || combine click talk || buttons/combine_button4.wav
|-
|-
| <code>45</code> || combine click growl fizz || buttons/combine_button5.wav
| <code>45</code> || combine click growl fizz || {{sound|buttons/combine_button5.wav}}
|-
|-
| <code>46</code> || combine click fizz (deny) || buttons/combine_button6.wav
| <code>46</code> || combine click fizz (deny) || buttons/combine_button6.wav
|-
|-
| <code>47</code> || combine click talker || buttons/combine_button7.wav
| <code>47</code> || combine click talker || {{sound|buttons/combine_button7.wav}}
|}
|}
 
{{KV|Delay Before Reset (-1 stay)|intn=wait|integer|Amount of time, in seconds, after the button has been pressed before it returns to the starting position. Once it has returned, it can be used again. If the value is set to -1, the button never returns.}}
{{KV|Delay Before Reset (-1 stay) (wait) <code><[[integer:ru|integer]]></code> Количество времени, в секундах, после того как кнопка была нажата, до того как она вернется в начальную позицию. Как только она вернется, она может быть использована вновь. Если значение будет -1, она больше не вернется.}}
{{KV|Locked Sound|intn=locked_sound|choices|Sound played when the player tries to use the button, and fails because it's locked.}}
{{KV|Locked Sound (locked_sound) <code><[[choices:ru|choices]]></code> Звук воспроизводится, когда игрок пытается использовать кнопку и терпит неудачу, потому что она заблокирована.}}
:{| class="standard-table mw-collapsible mw-collapsed"
 
:{| class=standard-table
! Значение || Описание || Звук по умолчанию
! Значение || Описание || Звук по умолчанию
|-
|-
| <code>0</code> || None || common/null.wav
| <code>0</code> || None || {{sound|common/null.wav}}
|-
|-
| <code>2</code> || Access Denied || buttons/button2.wav
| <code>2</code> || Access Denied || {{sound|buttons/button2.wav}}
|-
|-
| <code>8</code> || Small zap || buttons/button8.wav
| <code>8</code> || Small zap || {{sound|buttons/button8.wav}}
|-
|-
| <code>10</code> || Buzz || buttons/button10.wav
| <code>10</code> || Buzz || {{sound|buttons/button10.wav}}
|-
|-
| <code>11</code> || Buzz Off || buttons/button11.wav
| <code>11</code> || Buzz Off || buttons/button11.wav
|-
|-
| <code>12</code> || Latch Locked || doors/latchlocked2.wav
| <code>12</code> || Latch Locked || {{sound|doors/latchlocked2.wav}}
|}
|}
 
{{KV|Unlocked Sound|intn=unlocked_sound|choices|Sound played when the button is unlocked. {{confirm|doesn't seem to work?}}}}
{{KV|Unlocked Sound (unlocked_sound) <code><[[choices:ru|choices]]></code> Звук воспроизводится когда кнопка разблокирована. {{confirm:ru|кажется, не работает???}}}}
:{| class="standard-table mw-collapsible mw-collapsed"
:{| class=standard-table
! Значение || Описание || Звук по умолчанию
! Значение || Описание || Звук по умолчанию
|-
|-
| <code>0</code> || None || common/null.wav
| <code>0</code> || None || {{sound|common/null.wav}}
|-
|-
| <code>1</code> || Big zap & Warmup || buttons/button1.wav
| <code>1</code> || Big zap & Warmup || {{sound|buttons/button1.wav}}
|-
|-
| <code>3</code> || Access Granted || buttons/button3.wav
| <code>3</code> || Access Granted || {{sound|buttons/button3.wav}}
|-
|-
| <code>4</code> || Quick Combolock || buttons/button4.wav
| <code>4</code> || Quick Combolock || {{sound|buttons/button4.wav}}
|-
|-
| <code>5</code> || Power Deadbolt 1 || buttons/button5.wav
| <code>5</code> || Power Deadbolt 1 || {{sound|buttons/button5.wav}}
|-
|-
| <code>6</code> || Power Deadbolt 2 || buttons/button6.wav
| <code>6</code> || Power Deadbolt 2 || {{sound|buttons/button6.wav}}
|-
|-
| <code>7</code> || Plunger || buttons/button7.wav
| <code>7</code> || Plunger || buttons/button7.wav
|-
|-
| <code>8</code> || Small zap || buttons/button8.wav
| <code>8</code> || Small zap || {{sound|buttons/button8.wav}}
|-
|-
| <code>9</code> || Keycard Sound || buttons/button9.wav
| <code>9</code> || Keycard Sound || {{sound|buttons/button9.wav}}
|-
|-
| <code>10</code> || Buzz || buttons/button10.wav
| <code>10</code> || Buzz || {{sound|buttons/button10.wav}}
|-
|-
| <code>13</code> || Latch Unlocked || doors/latchunlocked1.wav
| <code>13</code> || Latch Unlocked || {{sound|doors/latchunlocked1.wav}}
|-
|-
| <code>14</code> || Lightswitch || buttons/lightswitch2.wav
| <code>14</code> || Lightswitch || {{sound|buttons/lightswitch2.wav}}
|}
|}
 
{{KV|Locked Sentence|intn=locked_sentence|choices|A sentence played when the player tries to use the button, and fails because it's locked.}}
{{KV|Locked Sentence (locked_sentence) <code><[[choices:ru|choices]]></code> Предложение, показываемое когда игрок пытается использовать кнопку, и терпит неудачу, потому что она заблокирована.}}
:{| class="standard-table mw-collapsible mw-collapsed"
:{| class=standard-table
! Значение || Описание
! Значение || Описание
|-
|-
Line 193: Line 188:
| <code>9</code> || Broken Shut Door
| <code>9</code> || Broken Shut Door
|}
|}
{{KV|Unlocked Sentence (unlocked_sentence) <code><[[choices:ru|choices]]></code> A sentence played when the button is unlocked.}}
{{KV|Unlocked Sentence|intn=unlocked_sentence|choices|A sentence played when the button is unlocked.}}
:{| class=standard-table
:{| class="standard-table mw-collapsible mw-collapsed"
! Value || Description
! Значение || Описание
|-
|-
| <code>0</code> || None
| <code>0</code> || None
Line 215: Line 210:
| <code>8</code> || Maintenance area
| <code>8</code> || Maintenance area
|}
|}
{{KV|Glow Entity (glow)|targetname|{{since:ru|{{l4d2}}}}Имя энтити, которое получит свечение для этой кнопки после{{ent|+use}}.}}
{{KV|Glow Entity|intn=glow|targetname|since=L4D|The name of an entity that will get a {{ent|+use}} glow for this button.}}
{{note:ru|Движок не может нормально найти Glow entity если оно вне сетки. Он возьмёт несколько энтити, которые рядом с Glow entity, которая находится вне сетки.}}
{{note|{{l4d2}} the "Hand Extend" animation will play when looking at Glow Entity.}}
{{KV|Use Look-At Limit (min_use_angle){{since:ru|{{Csgo}}}} <code><[[string:ru|string]]></code> Ограничивает полезный угол обзора. -1 - в другую сторону, 0 - перпендикулярно, 1 - туда, куда надо.}}
{{bug|The Engine cannot properly find the Glow entity if its off-grid. It will pick several entities close to where the supposed off-grid glow entity is.}}
{{KV visiblebrush:ru|l4d=1}}
{{KV|Use Look-At Limit|intn=min_use_angle|since=CSGO|string|Limit the usable look-at angle. -1 is looking directly away, 0 is looking perpendicular, 1 is looking directly at. To allow a deviation of at most 45°, insert cos(45°) &asymp; 0.7071 or for 5° use cos(5°) &asymp; 0.9962 (see [[dot product|dot product]]).}}
{{KV BaseEntity|brush=1}}
{{KV Targetname}}


==Флаги==
==Флаги==

Revision as of 03:48, 13 December 2022

English (en)Русский (ru)中文 (zh)Translate (Translate)
func_button
ТипОбъёмный объект мира
ПлатформаSource Source 2
ДоступностьВо всех играх
 

- это брашевая сущность, доступная во всех играх на движке Source Source. Она разработана, чтобы создавать используемые игроком кнопки. При использовании игроком она принимает вид нажатой кнопки. Для примера, func_button используется для создания Englishклавишной панели.

Template:Bug:ru


Нужно сделать: This template is currently using deprecated suf or {{Lang}}-based translations. Please use the main {{Code class}} instead, which uses {{Autolang}}.
C++ В коде представлен в виде класса CBaseButton, определённого в файле buttons.cpp.


Keyvalues

Move Direction (Pitch Yaw Roll) (movedir) <угол(en)>
Specifies the direction of motion to move when the button is used.
Speed (speed) <целое число(en)>
The speed that the button moves, in units per second.
Health (Obsolete) (health) <целое число(en)>
Legacy method of specifying whether or not the button can be shot to activate it. Use the Damage Activates spawnflag instead.
Lip (lip) <целое число(en)>
The amount, in inches, of the button to leave sticking out of the wall it recedes into when pressed. Negative values make the button recede even further into the wall.
Master (Obsolete) (master) <строка(en)>
Legacy support: The name of a master entity. If the master hasn't been activated, this button cannot be pressed.
Sounds (sounds) <варианты выбора>
Make this button emit a sound when pressed. Template:ModernNote
Значение Описание Звук по умолчанию
Кнопки
0 None (Silent) common/null.wav
1 Big zap & Warmup buttons/button1.wav
2 Access Denied buttons/button2.wav
3 Access Granted buttons/button3.wav
4 Quick Combolock buttons/button4.wav
5 Power Deadbolt 1 buttons/button5.wav
6 Power Deadbolt 2 buttons/button6.wav
7 Plunger buttons/button7.wav
8 Small zap buttons/button8.wav
9 Keycard Sound buttons/button9.wav
10 Buzz buttons/button10.wav
11 Buzz Off buttons/button11.wav
12 latch locked doors/latchlocked2.wav
13 Latch Unlocked doors/latchunlocked1.wav
14 Lightswitch buttons/lightswitch2.wav
15 small bleek buttons/button15.wav
16 small deny buttons/button16.wav
17 small doop buttons/button17.wav
18 small tech deny buttons/button18.wav
19 click and combine screen fuzz buttons/button19.wav
20 roomy beep buttons/button20.wav
Рычаги
21 lever or wheel: turn + move sqeek buttons/lever1.wav
22 lever or wheel: latch + release gas buttons/lever2.wav
23 lever or wheel: ratchet + sqeek buttons/lever3.wav
24 lever or wheel: large ratchet buttons/lever4.wav
25 lever or wheel: clanky + gas release buttons/lever5.wav
26 lever or wheel: latch + large metal thud buttons/lever6.wav
27 lever or wheel: smaller ratchet buttons/lever7.wav
28 lever or wheel: smaller lever move buttons/lever8.wav
Новые кнопки
31 shock buzz buttons/button21.wav
32 clickbeep buttons/button22.wav
33 tech blip buttons/button23.wav
34 clickbeepbeep open buttons/button24.wav
35 small high blip buttons/button12.wav
36 small tech fuzz blip buttons/button13.wav
37 small click bleep (change to lightswitch) buttons/button14.wav
Кнопки Комбайнов
40 combine door lock - locked buttons/combine_button_locked.wav
41 combine blip growl buttons/combine_button1.wav
42 combine squick growl buttons/combine_button2.wav
43 combine whine purr buttons/combine_button3.wav
44 combine click talk buttons/combine_button4.wav
45 combine click growl fizz buttons/combine_button5.wav
46 combine click fizz (deny) buttons/combine_button6.wav
47 combine click talker buttons/combine_button7.wav
Delay Before Reset (-1 stay) (wait) <целое число(en)>
Amount of time, in seconds, after the button has been pressed before it returns to the starting position. Once it has returned, it can be used again. If the value is set to -1, the button never returns.
Locked Sound (locked_sound) <варианты выбора>
Sound played when the player tries to use the button, and fails because it's locked.
Значение Описание Звук по умолчанию
0 None common/null.wav
2 Access Denied buttons/button2.wav
8 Small zap buttons/button8.wav
10 Buzz buttons/button10.wav
11 Buzz Off buttons/button11.wav
12 Latch Locked doors/latchlocked2.wav
Unlocked Sound (unlocked_sound) <варианты выбора>
Sound played when the button is unlocked.
Подтвердить:doesn't seem to work?
Значение Описание Звук по умолчанию
0 None common/null.wav
1 Big zap & Warmup buttons/button1.wav
3 Access Granted buttons/button3.wav
4 Quick Combolock buttons/button4.wav
5 Power Deadbolt 1 buttons/button5.wav
6 Power Deadbolt 2 buttons/button6.wav
7 Plunger buttons/button7.wav
8 Small zap buttons/button8.wav
9 Keycard Sound buttons/button9.wav
10 Buzz buttons/button10.wav
13 Latch Unlocked doors/latchunlocked1.wav
14 Lightswitch buttons/lightswitch2.wav
Locked Sentence (locked_sentence) <варианты выбора>
A sentence played when the player tries to use the button, and fails because it's locked.
Значение Описание
0 None
1 Gen. Access Denied
2 Security Lockout
3 Blast Door
4 Fire Door
5 Chemical Door
6 Radiation Door
7 Gen. Containment
8 Maintenance Door
9 Broken Shut Door
Unlocked Sentence (unlocked_sentence) <варианты выбора>
A sentence played when the button is unlocked.
Значение Описание
0 None
1 Gen. Access Granted
2 Security Disengaged
3 Blast Door
4 Fire Door
5 Chemical Door
6 Radiation Door
7 Gen. Containment
8 Maintenance area
Glow Entity (glow) <целевой объект(en)> (Во всех играх начиная с Left 4 Dead)
The name of an entity that will get a +use glow for this button.
Note.pngПримечание:Left 4 Dead 2 the "Hand Extend" animation will play when looking at Glow Entity.
Icon-Bug.pngБаг:The Engine cannot properly find the Glow entity if its off-grid. It will pick several entities close to where the supposed off-grid glow entity is.  [нужно проверить в ?]
Use Look-At Limit (min_use_angle) <строка(en)> (Во всех играх начиная с Counter-Strike: Global Offensive)
Limit the usable look-at angle. -1 is looking directly away, 0 is looking perpendicular, 1 is looking directly at. To allow a deviation of at most 45°, insert cos(45°) ≈ 0.7071 or for 5° use cos(5°) ≈ 0.9962 (see dot product).
Name(en) (targetname) <объект источник(en)>
Имя объекта, по которому другие объекты могут ссылаться на этот объект, через Входы/Выходы(en) или другие ключ-параметры(en) (например parentname или target).
Также отображаются на 2D-видах в Hammer и Отчёте об объектах (Entity Report)(en).
См. также:  Основные ключ-параметры, входы и выходы доступные для всех объектов

Флаги

  • 1: Don't move (не двигать)
  • 32: Toggle (режим тумблера)
  • 256: Touch Activates (активация при касании)
  • 512: Damage Activates (активация при уроне)
  • 1024: Use Activates (активация при нажатии)
  • 2048: Starts locked (сразу заперта)
  • 4096: Sparks (искриться при активации)
  • 16384: Non-solid Template:CSGO add Template:GMOD also (не твёрдая)

Ввод

Lock
Запирает кнопку, препятствуя ей функционированию.
Unlock
Отпирает кнопку, позволяя ей функционировать.
Press
Активирует кнопку, как если бы она была нажата.
PressIn
Активирует кнопку, как если бы она была нажата, отправляя её в нижнюю позицию.
PressOut
Отжимает кнопку, возвращяя её в верхнюю позицию.
SetDamageFilter <целевой объект(en)>
Sets a filter for this entity for when it receives damage.
EnableDamageForces
Allows the entity to be pushed by damage done to it (usually force amount correlates with the damage done).
DisableDamageForces
Prevents the entity from being pushed by damage done to it.
Нужно сделать: move/mention at proper place


Вывод

OnDamaged
Включается, когда кнопка получила урон.
OnPressed
Включается, когда кнопка была нажата.
OnUseLocked
Включается, когда кнопка была нажата будучи запертой.
OnIn
Включается, когда кнопка достигла позиции in/pressed (ввод/нажата).
OnOut
Включается, когда кнопка достигла позиции out/released (вывод/отжата).


Смотрите так же