Gates › Events › Player Fired Weapon Event

Player Fired Weapon Event

Event Events 0 in 6 out ⬚ 1x1

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).

No curated example for this gate yet. The shape above is accurate (from the inventory); what it does in practice should be confirmed in-game.

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

From logic_gate_inventory.simple.json @ 9660107. Documented behavior, not independently tested.