Background for Fallout 4
Member of the Actor script
voidfunctionDisallowCompanion(boolSuppressDismissMessage=false)

Description

Wiki Description

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


Caveats


Parameters

boolSuppressDismissMessage=false

CK Wiki Description

Whether to suppress this dismissal message

  • Default:False

Examples

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

Auto-Generated Example

bool myBool__SuppressDismissMessage

myActor__toCallFunctionOn.DisallowCompanion(myBool__SuppressDismissMessage)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.