TraceBleed

From ZDoom Wiki
Jump to navigation Jump to search

Actor

native void TraceBleed(int damage, Actor missile)

Usage

Draws a blood decal from the calling actor. 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.
  • Actor missile
Pointer to the projectile or puff used by the attack. This is used to determine the direction from the actor towards a wall the decal must be drawn on.

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