Mod:Creation Kit/SetProtected - RefCollectionAlias

Member of: Mod:Creation Kit/RefCollectionAlias Script

Calls SetProtected on all the actors in the collection.

Syntax
Function SetProtected(bool bSetProtected = true)

Parameters

 * bSetProtected: Whether to set them as protected or not
 * Default: True

Return Value
None.

Examples
ImportantPeople.SetProtected Expendables.SetProtected(false)
 * Flag everyone as protected
 * Set no one as protected