DefaultAliasOnAggro

From Creation Kit
Jump to: navigation, search

Default script used for checking if an alias has attacked or been attacked (basically a combination of DefaultAliasOnHit and DefaultAliasOnCombatStateChanged

Required Properties

Int StageToSet
{Stage to Set}

Optional Properties

Int CombatStateToCheckFor
{
0: Not In Combat
1: In Combat
2: Searching
4: In Combat or Searching (DEFAULT)
}
 
ObjectReference[] TargetingOrHitByOneOfTheseReferences
{OPTIONAL: Stage will be set if In Combat with any of these references.
If ALL arrays are empty then stage is set if In Combat with or Hit by anybody.}
 
ReferenceAlias[] TargetingOrHitByOneOfTheseAliases
{OPTIONAL: Stage will be set if In Combat with any of these aliases.
If ALL arrays are empty then stage is set if In Combat with or Hit by anybody.}
 
Faction[] TargetingOrHitByOneOfTheseFactions
{OPTIONAL: Stage will be set if In Combat with any of these factions.
If ALL arrays are empty then stage is set if In Combat with or Hit by anybody.}
 
Bool PlayerOnly
{If set to TRUE (DEFAULT) then this stage will only set if targeting or Hit by the player.
If set to FALSE, and all arrays are empty, then the stage is set if targeting or Hit by anybody.}

Debug Properties

Bool ShowTraces
{Default = FALSE, Set to TRUE if you want the traces in this script to show up in the log.}