DisallowCompanion - Actor

From Creation Kit
Jump to: navigation, search

Member of: 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

; 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