DisallowCompanion - Actor
Revision as of 10:19, 1 December 2015 by imported>Plplecuyer (→See Also)
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)