- Found in:
- Vanilla
eventOnShipSystemDamaged(ActorValueakSystem, intaBlocksLost, boolaElectromagneticDamage, boolaFullyDamaged)
Description
Documentation Comment
Event that is triggered when one of this spaceship's systems loses a power block due to damage
Parameters
Examples
Auto-Generated Example
Scriptname MyCoolScript extends SpaceshipReference
event OnShipSystemDamaged(ActorValue akSystem, int aBlocksLost, bool aElectromagneticDamage, bool aFullyDamaged)
Debug.trace("Event received - OnShipSystemDamaged: akSystem = " + akSystem + " aBlocksLost = " + aBlocksLost + " aElectromagneticDamage = " + aElectromagneticDamage + " aFullyDamaged = " + aFullyDamaged)
endEvent