IsProtected - ActorBase
Revision as of 17:02, 14 December 2010 by imported>Plplecuyer
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