Background for Fallout 4
Member of the ObjectReference script
voidfunctionSetPlayerHasTaken(boolabTaken=true)Native

Description

Wiki Description

Sets/clears the "player has taken" flag on this reference.

Documentation Comment

Flags/unflags this reference as having been taken by the player


Caveats


Parameters

boolabTaken=true

CK Wiki Description

True to set the flag, false to clear it

  • Default:True

Examples

; Flag this comic as the player having taken it already
GrognakComic.SetPlayerHasTaken()
; Clear the flag on the comic
GrognakComic.SetPlayerHasTaken(false)

Auto-Generated Example

bool myBool__abTaken

myObjectReference__toCallFunctionOn.SetPlayerHasTaken(myBool__abTaken)

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.