OnStartCombat

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

Syntax:

 begin OnStartCombat TargetActorRefID

Example:

 begin OnStartCombat
 begin OnStartCombat player 

This block will be run once when the scripted actor enters combat with the specified target. If no target is specified, the block will be run whenever the actor enters combat.