Background for Skyrim SE
Member of the Location script
boolfunctionIsCleared()Native

Description

Wiki Description

Returns if this location is flagged as cleared or not.

Documentation Comment

Returns whether this location is flagged as "cleared" or not


Caveats

CK Wiki - Notes

  • This function checks if the dungeon is currently cleared, as in the moment you clear it, this function will return true. For dungeons that have respawned, this will return false until the boss is killed again, regardless if the dungeon has already been marked as cleared in an earlier run.
  • A location is cleared whenever all enemies that have a "Boss" LocationRefType assigned to them is killed.

Examples

; Is this location cleared?
if (MyHouseProperty.IsCleared())
  Debug.Trace("My house is cleared")
endIf

Auto-Generated Example

bool returnedValue = myLocation__toCallFunctionOn.IsCleared()

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.