Mod:Creation Kit/GetRefTypeDeadCount - Location

Member of: Mod:Creation Kit/Location Script

Obtains the number of dead enabled references matching the specified reference type in this location.

Syntax
int Function GetRefTypeDeadCount(LocationRefType akRefType) native

Parameters

 * akRefType: The LocationRefType to search for.

Return Value
The number of dead enabled references in the location that have the specified location ref type.

Examples
int clownCount = MyHouseProperty.GetRefTypeDeadCount(ClownRefTypeProperty)
 * Obtain the number of dead clowns in the location