Mod:Creation Kit/DisallowCompanion - Actor

Member of: Mod:Creation Kit/Actor Script

Tells this actor it is no longer allowed to be a companion (dismissing if they are a companion).

Syntax
Function DisallowCompanion(bool SuppressDismissMessage = false)

Parameters

 * SuppressDismissMessage: Whether to suppress this dismissal message
 * Default: False

Return Value
None

Examples
Dogmeat.DisallowCompanion Curie.DisallowCompanion(true)
 * Prevent dogmeat from being a companion
 * Prevent Curie from being a companion, but don't show dismiss message