Mod:Creation Kit/IsProtected - ActorBase

Member of: Mod:Creation Kit/ActorBase Script

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

Syntax
bool Function IsProtected native

Parameters
None.

Return Value
Whether this actor base is flagged as protected.

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