DisallowCompanion - Actor

Member of: Actor Script

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

SyntaxEdit

Function DisallowCompanion(bool SuppressDismissMessage = false)

ParametersEdit

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

Return ValueEdit

None

ExamplesEdit

; Prevent dogmeat from being a companion
Dogmeat.DisallowCompanion()


; Prevent Curie from being a companion, but don't show dismiss message
Curie.DisallowCompanion(true)

See AlsoEdit