Skip to content

Attacker

The causing attacker when present. A direct projectile is exposed separately as Event Projectile.

Result type: Entity. Find it through Objects → Game Values → Event → Attacker. Use it as a compatible input or read it into a typed Variable; it is not a writable destination.

Requires the matching event snapshot; using it in an unrelated event reports unavailable data.

Event: Player Take Damage
Set Variable: Private Entity observed ← Game Value: Attacker

Trigger this event in Play, with the matching interaction or entity context, and inspect the assigned value. Moving this input to an unrelated event can make it unavailable. The destination must use the type shown above.

Supported event-specific values are snapshotted for reads after suspension. Ordinary entity/player values read eligible current context; this does not guarantee that an old target remains valid after Wait. Declare compatible result types and handle expected absence explicitly.

Values · Targets · Expressions

Reference identifier: event_attacker.