DamageObject

From GECK

Contents

Description

DamageObject Applies damage to a destructible object which is not already destroyed. Does not work for objects which have health (such as weapons). It is called on a reference and takes a float which is the amount of damage to apply.

Syntax

[ObjectREF.]DamageObject float 

Examples

CarRef.DamageObject 25.4

The car will take 25.4 points of damage.

carRef.do 25.4

Notes

  • None at this time


See Also

ClearDestruction

Reference

None provided.

Personal tools