Func bomb target: Difference between revisions
Jump to navigation
Jump to search

(updates) |
(Tried out creating more than two of these entities.) |
||
Line 1: | Line 1: | ||
{{lang|Func bomb target}} | {{lang|Func bomb target}} | ||
{{base brush multi|func_bomb_target|game1=Counter-Strike: Source|game2=Counter-Strike: Global Offensive}} It marks where | {{base brush multi|func_bomb_target|game1=Counter-Strike: Source|game2=Counter-Strike: Global Offensive}} | ||
It marks where [[weapon_c4|C4 entities]] can be planted. [[Player]]s holding the bomb must touch the volume of any <code>func_bomb_target</code> to plant. | |||
The radar will automatically label a <code>func_bomb_target</code> as either '''A''' or '''B''', depending on which one was created first. | |||
In {{csgo}}, if there are more than two of these entities, only two of them will be labelled with '''A''' and '''B''' (often the second and third entity). | |||
{{code class|CBombTarget|func_bomb_target.cpp}} | {{code class|CBombTarget|func_bomb_target.cpp}} |
Revision as of 11:16, 17 March 2021


It marks where C4 entities can be planted. Players holding the bomb must touch the volume of any func_bomb_target
to plant.
The radar will automatically label a func_bomb_target
as either A or B, depending on which one was created first.
In , if there are more than two of these entities, only two of them will be labelled with A and B (often the second and third entity).
Keyvalues
- Heist Mode bomb Target (heistbomb) ([todo internal name (i)]) <boolean>
- Tells the bomb target that it's designed for the Heist game mode.
- Bomb Mount Target ([todo internal name (i)]) <targetname>
- Optionally, have the bomb be forced to a specific position and orientation after being planted. The position and angles are determined by the ones of a specified info_target.
|
Inputs
- BombExplode !FGD
- Pretend the bomb exploded; fires the
BombExplode
output.
- BombDefused !FGD
- Pretend the bomb was defused; fires the
BombDefused
output.
- BombPlanted !FGD
- Pretend the bomb was planted; fires the
BombPlanted
output.
|
Outputs
- BombExplode
- Fires when the bomb explodes.
- BombDefused
- Fires when the bomb is defused.
- BombPlanted
- Fires when the bomb is planted.
|