Background for Skyrim SE
Member of the Actor script
boolfunctionHasAssociation(AssociationTypeakAssociation, ActorakOther=NONE)Native

Description

Wiki Description

Does this actor have the specified association with the specified actor? Or with anyone if no actor is passed.

Documentation Comment

Checks to see if this actor has the specified association with the other actor - or anyone (if no actor is passed)


Parameters

  1. AssociationTypeakAssociation

    CK Wiki Description

    The AssociationType to check for.

  2. ActorakOther=NONE

    CK Wiki Description

    The actor to check against. If None, then see if this actor has the specified association with anyone.

    • Default:None

Examples

No human-generated examples found for this function.

Auto-Generated Example

AssociationType myAssociationType__akAssociation
Actor myActor__akOther

bool returnedValue = myActor__toCallFunctionOn.HasAssociation(myAssociationType__akAssociation, myActor__akOther)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.