SetCleared - Location
Revision as of 15:21, 30 September 2015 by imported>Cdcooley (→Notes)
Member of: Location Script
Flags or unflags this location as cleared.
Syntax[edit | edit source]
Function SetCleared(bool abCleared = true) native
Parameters[edit | edit source]
- abCleared: Whether to set or clear the cleared flag.
- Default: True
Return Value[edit | edit source]
None.
Examples[edit | edit source]
; Flag the house as cleared
HouseProperty.SetCleared()
; Unflag the house as cleared
HouseProperty.SetCleared(false)
Notes[edit | edit source]
- SetCleared does not update the 'Dungeons Cleared' misc stat. When using SetCleared, make sure to follow it with a call to IncrementStat if appropriate.