DamageObject

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

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

[help]
[ObjectRefID].DamageObject Value:float 

Or:

[ObjectRefID].DO Value:float

Example

CarRef.DamageObject 25.4
carRef.do 25.4

The car will take 25.4 points of damage.

Notes

See Also