UnitClass.server_onExplosion Called when the Unit's Character is hit by an explosion. Kind: Callback Environments: Game Game Callback side: Server UnitClass:server_onExplosion( center, destructionLevel, damage ) Open the full Game reference Parameters: Name Type Description self table The class instance. center Vec3 The center of the explosion. destructionLevel integer The level of destruction done by this explosion. Corresponds to the 'durability' rating of a Shape. damage integer The damage value of the explosion.