User Tools

Site Tools


4rpl:commands:damageunit

This is an old revision of the document!


Index

DamageUnit

DamageUnit(<-unit <-amt)

Description

Damages the specified unit. Typical health values for most units are either 0 or 1. Units that have a health of 0 will be destroyed when Damage is called. Other units will have damage deducted from their health. Note that positive values cause damage. If a negative value is passed in, the resulting unit's health increases.

Examples

DamageUnit(<-someUnitUID 0.1)

Index

4rpl/commands/damageunit.1610121708.txt.gz · Last modified: 2025/02/14 14:56 (external edit)