SetHarvested - ObjectReference

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

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

Syntax[edit | edit source]

Function SetHarvested(bool abHarvested) native

Parameters[edit | edit source]

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

Return Value[edit | edit source]

None.

Examples[edit | edit source]

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

Notes[edit | edit source]

See Also[edit | edit source]