Background for Fallout 4
Member of the Location script
voidfunctionSetCleared(boolabCleared=true)Native

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

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.