Structs:FTranslatedLineTarget

From ZDoom Wiki
Jump to navigation Jump to search

The FTranslatedLineTarget stuct can be used by functions like LineAttack and AimLineAttack to output data related to a hitscan attack performed by those functions.

Variables

  • Actor linetarget
The actor that was hit by the attack if any. Otherwise null.
  • double angleFromSource
The angle towards the victim from the caller of the attack.
  • double attackAngleFromSource
The angle towards the victim from the position where it was hit by the attack.
  • bool unlinked
If true, the trace went through an unlinked portal.

Methods

Non-static

Draws blood decals from the calling actor.

See also