ActorBase - powerof3/PapyrusExtenderSSE GitHub Wiki

Getters

GetAssociationType

  • Get association type between 2 NPCs, if any
AssociationType Function GetAssociationType(ActorBase akBase1, ActorBase akBase2) global native

GetDeathItem

  • Gets NPC death item
LeveledItem Function GetDeathItem(ActorBase akBase) global native

GetNthPerk

  • Get actorbase perk at nth index
Perk Function GetNthPerk(ActorBase akBase, int aiIndex) global native

GetPerkCount

  • Get total actorbase perk count
int Function GetPerkCount(ActorBase akBase) global native

GetRelationships

  • Gets list of actorbases by association type, OR all actors with relationships if association type is None
Actorbase[] Function GetRelationships(ActorBase akBase, AssociationType akAssocType) global native

Setters

SetDeathItem

  • Sets NPC death item.
  • Can be None.
Function SetDeathItem(ActorBase akBase, LeveledItem akLeveledItem) global native