Background for Starfield
Member of the ReferenceAlias script
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

ActorValueakSystem

intaBlocksLost

boolaElectromagneticDamage

boolaFullyDamaged


Examples

Auto-Generated Example

Scriptname MyCoolScript extends ReferenceAlias

event OnShipSystemDamaged(ActorValue akSystem, int aBlocksLost, bool aElectromagneticDamage, bool aFullyDamaged)
    Debug.trace("Event received - OnShipSystemDamaged: akSystem = " + akSystem + " aBlocksLost = " + aBlocksLost + " aElectromagneticDamage = " + aElectromagneticDamage + " aFullyDamaged = " + aFullyDamaged)
endEvent
Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.