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

Description

Wiki Description

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

NOTE: This checks references whose editor location is the locaiton only. It does NOT check for things that have "wandered" into it from elsewhere. It also only checks enabled refs.

Documentation Comment

Returns the number of dead references matching the specified reference type


Parameters

  1. LocationRefTypeakRefType

    CK Wiki Description

    The LocationRefType to search for.


Examples

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

Auto-Generated Example

LocationRefType myLocationRefType__akRefType

int returnedValue = myLocation__toCallFunctionOn.GetRefTypeDeadCount(myLocationRefType__akRefType)

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.