- Found in:
- Vanilla
Description
Wiki Description
Calls Actor.SetProtected(...) on all the actors in the collection.
Documentation Comment
kmk
convenience function - sets/clears Protected on everyone
Caveats
CK Wiki - Notes
Because this uses SetProtected at the actor level, changing the protected status later via base object or alias will no longer have any effect.
Parameters
boolbSetProtected=true
CK Wiki Description
Whether to set them as protected or not
- Default:True
Examples
; Flag everyone as protected
ImportantPeople.SetProtected(); Set no one as protected
Expendables.SetProtected(false)Auto-Generated Example
bool myBool__bSetProtected
myRefCollectionAlias__toCallFunctionOn.SetProtected(myBool__bSetProtected)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
