Background for Fallout 4
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 Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.