Background for Fallout 4
Member of the Actor script
voidfunctionSetDoingFavor(boolabDoingFavor=true, boolabWorkShopMode=false)Native

Description

Wiki Description

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

Documentation Comment

Flag this actor as currently doing a favor for the player
Indicate if the actor is in workshop or normal command mode


Caveats


Parameters

boolabDoingFavor=true

CK Wiki Description

Whether to set or clear the "doing favor" state.

  • Default:True

boolabWorkShopMode=false

CK Wiki Description

Whether the mode is workshop.

  • Default:False

Examples

; Set Nate to be doing the player a favor
Nate.SetDoingFavor()
; Clear Nate's "doing favor" status
Nate.SetDoingFavor(false)

Auto-Generated Example

bool myBool__abDoingFavor
bool myBool__abWorkShopMode

myActor__toCallFunctionOn.SetDoingFavor(myBool__abDoingFavor, myBool__abWorkShopMode)

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.