TraceBleedAngle

From ZDoom Wiki
Jump to navigation Jump to search

Actor

native void TraceBleedAngle(int damage, double angle, double pitch)

Usage

Draws a blood decal from the calling actor. In contrast to TraceBleed, this version allows specifying a direction towards which the decal should be placed.

Does not spawn blood actors (for that see SpawnBlood).

Parameters

  • int damage
The amount of damage that was dealt by the attack. Note, this does NOT deal any damage; this number is only used to determine how many and what type of blood decals to draw.
  • double angle
The absolute angle towards the direction where the decal should be placed.
  • double pitch
The absolute pitch towards the direction where the decal should be placed.

Examples

Nuvolachalk.png Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.


See also