Show / Hide Table of Contents

Contents


General System Function

The Contents function returns either the total Entities count at a Location or a certain Entity type count at a Location. Use Contents to make decisions based on how busy a Location is.

Syntax

Contents(<location>{,<entity type>})

Examples

Load Contents(Loc1)
Join Contents(Loc1, EntA) EntA

Parameters

<location>

The Location's name to examine.

<entity type>

The Entity type's optional name. If omitted, Contents returns the total of all Entities at the Location.

Remarks

Using Contents to track Entity numbers at a Location requires fewer steps and allows more flexibility than using Variables.

In This Article
Back to top Generated by DocFX