IsProtected - ActorBase
Revision as of 16:02, 14 December 2010 by imported>Jlundin
Member of: ActorBase Script
Obtains whether this actor base is flagged as protected or not.
Syntax[edit | edit source]
bool Function IsProtected() native
Parameters[edit | edit source]
None.
Return Value[edit | edit source]
Whether this actor base is flagged as protected.
Examples[edit | edit source]
; Is the actor protected?
ActorBase PersonBase = ImportantPersonProperty.GetBaseObject() as ActorBase
if (PersonBase.IsProtected())
Debug.Trace("Important person is protected")
endIf