DamageObject
Revision as of 10:49, 15 August 2009 by imported>Geckbot (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
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
Reference
None provided.