headpunch: type: world events: on player damages entity: - define headLoc: - foreach ].distance[0.5]>: - announce "<[value]>" - if <[value].distance[<[headLoc]>]> <= 0.5: #- define headShot true - shoot - announce "ow"