Background for Skyrim SE
Member of the ActorBase script
boolfunctionIsProtected()Native

Description

Wiki Description

Obtains whether this actor base is flagged as protected or not.

Documentation Comment

Is this actor protected (can only be killed by player)?


Caveats


Examples

; Is the actor protected?
ActorBase PersonBase = ImportantPersonProperty.GetBaseObject() as ActorBase
if (PersonBase.IsProtected())
  Debug.Trace("Important person is protected")
endIf

Auto-Generated Example

bool returnedValue = myActorBase__toCallFunctionOn.IsProtected()

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.