Difference between revisions of "DamageObject"

From GECK

m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
Line 26: Line 26:
  
 
[[Category:Functions]]
 
[[Category:Functions]]
[[Category:Functions (GECK 1.0)]]
+
[[Category:Functions (GECK 1.1)]]
 
[[Category:Object Functions]]
 
[[Category:Object Functions]]
[[Category:Object Functions (GECK 1.0)]]
+
[[Category:Object Functions (GECK 1.1)]]

Revision as of 10:49, 15 August 2009

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