SetCleared - Location

Member of: Location Script

Flags or unflags this location as cleared.

SyntaxEdit

Function SetCleared(bool abCleared = true) native

ParametersEdit

  • abCleared: Whether to set or clear the cleared flag.
    • Default: True

Return ValueEdit

None.

ExamplesEdit

; Flag the house as cleared
HouseProperty.SetCleared()


; Unflag the house as cleared
HouseProperty.SetCleared(false)

NotesEdit

  • SetCleared does not update the 'Dungeons Cleared' misc stat. When using SetCleared, make sure to follow it with a call to IncrementStat if appropriate.

See AlsoEdit