Draws a square around the stage when damage is inflicted on character and animates it out
| GUI. | Draws a square around the stage when damage is inflicted on character and animates it out |
| Variables | |
| m_DrawClip | |
| m_PrevHealth | |
| m_CharacterId | |
| Functions | |
| DamageInfo | |
| SetCharacter | Sets the caharacter to current client cjharacter and assigns the ID membervariable |
| SlotDamageInfo | Fires when a character takes damage |
| DrawAttackFrame | Draws an attack frame if there is noone active at the moment |
private var m_DrawClip: MovieClip
private var m_PrevHealth: Number
private var m_CharacterId: ID32
public function DamageInfo( ref: MovieClip )
Sets the caharacter to current client cjharacter and assigns the ID membervariable
public function SetCharacter( character: Character ) : Void
Fires when a character takes damage
private function SlotDamageInfo( statID: Number, damage: Number, absorb: Number, attackResultType: Number, attackType: Number, attackOffensiveLevel: Number, attackDefensiveLevel: Number, context: Number, targetID: ID32, iconID: ID32, iconColorLine: Number )
Draws an attack frame if there is noone active at the moment
private function DrawAttackFrame() : Void