SetDoingFavor - Actor

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Actor Script

Set or clear this actor's "doing favor" status.

Syntax[edit | edit source]

Function SetDoingFavor(bool abDoingFavor = true, bool abWorkShopMode = false) native

Parameters[edit | edit source]

  • abDoingFavor: Whether to set or clear the "doing favor" state.
    • Default: True
  • abWorkShopMode: Whether the mode is workshop.
    • Default: False

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Set Nate to be doing the player a favor
Nate.SetDoingFavor()


; Clear Nate's "doing favor" status
Nate.SetDoingFavor(false)

See Also[edit | edit source]