Mod:Creation Kit/RegisterForRadiationDamageEvent - ScriptObject

Member of: ScriptObject

Registers this script to receive a single OnRadiationDamage event from the target.

Only the script that registers for an event will receive it. Other scripts attached to the same form, alias, or magic effect will not receive the event unless they also register for it.

Syntax
Function RegisterForRadiationDamageEvent(ScriptObject akTarget) native

Parameters

 * akTarget: The Actor, ReferenceAlias or RefCollectionAlias that is taking radiation damage.

Return Value
None

Examples
RegisterForRadiationDamageEvent(Game.GetPlayer)
 * Register for when the player takes radiation damage