GetRefTypeDeadCount - Location

Revision as of 16:27, 18 October 2011 by imported>Rhavlovick (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: Location Script

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.

SyntaxEdit

int Function GetRefTypeDeadCount(LocationRefType akRefType) native

ParametersEdit

Return ValueEdit

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

ExamplesEdit

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

See AlsoEdit