Gates ›
Interactive ›
Target
Target
Outputs a wire signal when hit with a projectile.
Diagram
Ports drawn from the source data: inputs left, outputs right, config inside.
How it's used
Structural overview — derived from this gate's ports, not
from tested behavior. Takes 1 wire input: On Time (float). Produces 5 outputs: Just Hit (bool), Character That Just Hit (character), Damage (float), Weapon Name That Just Hit (string), Weapon That Just Hit (entity).
Technical details — ports, config & source
Wire inputs
Wires you feed into the gate.
| Display name | Type | Tooltip |
|---|---|---|
| On Time (OnTime) | float | The amount of time that the target turns "On" when shot. Set to 0 for one tick. The target cannot report new information while it is on. |
Wire outputs
Wires the gate produces.
| Display name | Type | Tooltip |
|---|---|---|
| Just Hit (bJustHit) | bool | Whether the target was just hit and is waiting out its hit timeout. |
| Character That Just Hit (CharacterThatJustHit) | character | Character that just hit the target. |
| Damage | float | How much damage came from the hit. |
| Weapon Name That Just Hit (WeaponNameThatJustHit) | string | No tooltip in source |
| Weapon That Just Hit (WeaponThatJustHit) | entity | No tooltip in source |
Source details
- Brick asset
- B_2x2F_Target
- Component class
- Component_Target
- Kind
- unknown
- Family
- —
- Half size
- 10 × 10 × 2