Damage Source - Source Location (Expression) — Skript
Addon: Skript · Category: Expression · Since: 2.12
Syntax
[the] source location [of %damagesources%]Description
The final location where the damage was originated from. The 'source location' for vanilla damage sources will retrieve the 'damage location' if set. If 'damage location' is not set, will attempt to grab the location of the 'causing entity', otherwise, null.
Examples
on death:
set {_location} to the source location of event-damage source