SetProtected - ActorBase
Revision as of 19:46, 7 April 2010 by imported>Plplecuyer (Created page with 'Category:Scripting Category:Papyrus '''Member of:''' ActorBase Script Sets or clears this actor's protected flag. If you set the flag, and the actor is essential, th…')
Member of: ActorBase Script
Sets or clears this actor's protected flag. If you set the flag, and the actor is essential, the essential flag will be cleared.
SyntaxEdit
Function SetProtected(bool abProtected = true) native
ParametersEdit
- abProtected: Whether to set or clear this actor's protected flag.
- Default: True
Return ValueEdit
None.
ExamplesEdit
; Flag the Emperor as protected
EmperorBaseActorProperty.SetProtected()
; Flag RedShirt as non-protected
RedShirtBaseActorProperty.SetProtected(false)