Mod:Creation Kit/SetEssential - RefCollectionAlias

Member of: Mod:Creation Kit/RefCollectionAlias Script

Calls SetEssential on all the actors in the collection.

Syntax
Function SetEssential(bool bSetEssential = true)

Parameters

 * bSetEssential: Whether to set them as essential or not
 * Default: True

Return Value
None.

Examples
ImportantPeople.SetEssential Expendables.SetEssential(false)
 * Flag everyone as essential
 * Set no one as essential