Background for Skyrim SE

SPE_Actor


Inheritance Tree

No indexed scripts extend this script.

Properties
Events
Functions
stringfunctionGetRaceType(ActorakActor)NativeGlobal

[DEV SERVER] Loading description...

voidfunctionSetActorCalmed(ActorakActpr, boolabDoCalm)NativeGlobal

Calm this actor. Calmed actors will ignore ongoing combat and not be attacked by anyone.
(This behaves similar to Acheron's paficiation, beware however that both systems are indepnendent from another)

boolfunctionIsActorCalmed(ActorakActor)NativeGlobal
voidfunctionSetActorFrozen(ActorakActor, boolabDoFreeze)NativeGlobal

Disable an actors collision

boolfunctionIsActorFrozen(ActorakActor)NativeGlobal
Actor[]functionGetDetectedActors(ActorakActor)NativeGlobal

Get all actors this actor is currently detecting

Actor[]functionGetDetectedBy(ActorakActor)NativeGlobal

Get all actors that are currently detecting this actor

Form[]functionGetWornForms(ActorakActor)NativeGlobal

Get all currently worn forms, optionally filtered by slot mask
aiSlotMask: Sum of slot masks to check. An armor is returned if it occupies any of the specified slots
See Armor.psc or https://ck.uesp.net/wiki/Slot_Masks_-_Armor for a list of masks

Armor[]functionGetWornArmor(ActorakActor, intaiSlotMask=0)NativeGlobal
Keyword[]functionWornHasKeywords(ActorakActor, Keyword[]akKeywords)NativeGlobal

Same as WornHasKeyword(), but allows to specify multiple keywords
The string variant allows to search for substrings in keywords if abMatchPartial is true
Returns all keywords that are present on any worn form, in case of abMatchPartial = true, returns the first match

Keyword[]functionWornHasKeywordStrings(ActorakActor, string[]asKeywords, boolabMatchPartial)NativeGlobal
ActorfunctionGetPlayerSpeechTarget()NativeGlobal

Get the players current dialogue target

voidfunctionDismount(ActorakActor)NativeGlobal

Unmount this actor

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