DoBreath

Category: Objects / Living Beings
Since engine version: 1.0 OC

Description

Changes the breath value of an object.

Syntax

bool DoBreath(int change);

Parameter

change:
Change of the breath value in frames.

Example

GetCursor()->DoBreath(GetCursor().MaxBreath / 2);
Gives 50% more breath to the selected clonk of the first player.
See also: GetBreath
Sven2, 2001-11