Description
Wiki Description
Flags or unflags this location as cleared.
Documentation Comment
Sets this location as cleared or not
Caveats
CK Wiki - Notes
- SetCleared does not update the 'Dungeons Cleared' misc stat. When using SetCleared, make sure to follow it with a call to Game.IncrementStat(...) if appropriate.
Parameters
boolabCleared=true
CK Wiki Description
Whether to set or clear the cleared flag.
- Default:True
Examples
; Flag the house as cleared
HouseProperty.SetCleared(); Unflag the house as cleared
HouseProperty.SetCleared(false)Auto-Generated Example
bool myBool__abCleared
myLocation__toCallFunctionOn.SetCleared(myBool__abCleared)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
