Background for Fallout 4
Member of the ObjectReference script
voidfunctionSetHarvested(boolabHarvested)Native

Description

Wiki Description

Allows script to set whether or not a given Flora ObjectReference has been harvested.

Documentation Comment

Marks the object as Harvested or not Harvested (if it's Flora)


Caveats


Parameters

boolabHarvested

CK Wiki Description

true to mark the ObjectReference as Harvested, false to mark it as not-Harvested.


Examples

; Mark the Tato plant as Harvested.
MyTatoPlant.SetHarvested(true)

Auto-Generated Example

bool myBool__abHarvested

myObjectReference__toCallFunctionOn.SetHarvested(myBool__abHarvested)

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.