DisallowCompanion - Actor

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Actor Script

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

Syntax[edit | edit source]

Function DisallowCompanion(bool SuppressDismissMessage = false)

Parameters[edit | edit source]

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

Return Value[edit | edit source]

None

Examples[edit | edit source]

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


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

See Also[edit | edit source]