Attachable:CollectDamage

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxCollectDamage( * None. )
Description:
Gets the amount of damage points this Attachable has sustained and should cause its parent. Calling this will reset the damage count. This should normally be called AFTER Update() to get the correct damage for a given frame.
ReturnsA float with the damage points accumulated since the last time this method was called.




Example
DescriptionPlaceholder!
Code
  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
OutputPlaceholder!
Personal tools