Mod:Creation Kit/AllowCompanion - Actor

Member of: Mod:Creation Kit/Actor Script

Tells this actor it is now allowed to be a companion.

Syntax
Function AllowCompanion(bool MakeCompanionIfNoneCurrently = true, bool ForceCompanion = false)

Parameters

 * MakeCompanionIfNoneCurrently: If the player has no companion, make this their current companion
 * Default: True
 * ForceCompanion: Force this actor to be the current companion, dismissing any other
 * Default: False

Return Value
None

Examples
Dogmeat.AllowCompanion Danse.AllowCompanion(ForceCompanion = true)
 * Allow dogmeat to be a companion, setting him to be your companion if you don't have any
 * Force Danse to be your companion