Player Fired Weapon Event
Pulses for every trajectory fired by a player, and once per melee swing, outputting the shooter, the weapon used, the world-space start point, and the normalized direction.
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 no wire inputs. Produces 6 outputs: Character (character), Direction (vector), Exec Out (exec), Start (int), Weapon (entity), Weapon Name (string).
Wire inputs
Wires you feed into the gate.
No wire inputs.
Wire outputs
Wires the gate produces.
| Display name | Type | Tooltip |
|---|---|---|
| Character | character | No tooltip in source |
| Direction | vector | No tooltip in source |
| Exec Out (ExecOut) | exec | No tooltip in source |
| Start | int | No tooltip in source |
| Weapon | entity | No tooltip in source |
| Weapon Name (WeaponName) | string | No tooltip in source |
Source details
- Brick asset
- B_1x1_Gate_Event_Gamemode_CharacterFiredWeapon
- Component class
- BrickComponentType_Event_Gamemode_CharacterFiredWeapon
- Kind
- event
- Family
- —
- Search tags
- player character shooter weapon shot shoot fired fire bullet projectile hitscan melee swing attack
- Half size
- 7 × 5 × 2