SetHarvested - ObjectReference

Member of: ObjectReference Script

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

SyntaxEdit

Function SetHarvested(bool abHarvested) native

ParametersEdit

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

Return ValueEdit

None.

ExamplesEdit

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

NotesEdit

See AlsoEdit