IsProtected - ActorBase
Member of: ActorBase Script
Obtains whether this actor base is flagged as protected or not.
SyntaxEdit
bool Function IsProtected() native
ParametersEdit
None.
Return ValueEdit
Whether this actor base is flagged as protected.
ExamplesEdit
; Is the actor protected?
ActorBase PersonBase = ImportantPersonProperty.GetBaseObject() as ActorBase
if (PersonBase.IsProtected())
Debug.Trace("Important person is protected")
endIf