# Animated Crowd Console Commands

### Live Config <a href="#live-config" id="live-config"></a>

`M2.LiveConfig.SetValue game PlayerClient.Rendering.NumInLoD0 0`: Forces all players apart from your local player into the crowd.

`M2.LiveConfig.SetValue game PlayerClient.Rendering.ForceSkeletalCrowdFrustumCulling <0/1>`: Forces skeletal crowd GPU frustum culling on or off locally.

### Animated Crowd <a href="#animated-crowd" id="animated-crowd"></a>

`AnimatedCrowd.Debug.DrawBoxes 1`: Draws debug bounding boxes on each instance in the animated crowd. Due to performance, boxes will be drawn for a subset of the crowd at once.

`AnimatedCrowd.Debug.MaxBoxes n`: Configures the number of debug boxes to be drawn.

`AnimatedCrowd.Debug.ScanSpeed n`: Configures the speed for drawing each subset of the crowd.

### Skeletal Crowd <a href="#skeletal-crowd" id="skeletal-crowd"></a>

`SkeletalCrowd.Debug.VisualizeLoDs 1`: Enables a debug view of each LoD. Each LoD will have its material be overridden to use a material from `DebugLodMaterials` as a visualization. `DebugLodMaterials` must be non empty for this to work.

`SkeletalCrowd.Debug.ExclusiveLoD n`: If n is a valid LoD index, then only that LoD will be rendered and all other LoDs will be culled.

`SkeletalCrowd.Debug.DumpMemoryUsage`: Dump memory usage for all `USkeletalCrowdComponents`.

* `--verbose` will enable more verbose memory usage dumps

`SkeletalCrowd.Debug.DrawFrustum 1`: Draws the view frustum that is used for frustum culling.

`SkeletalCrowd.Debug.DrawBoundingSpheres 1`: Draws the bounding sphere used for frustum culling around each instance. This is very expensive on a large crowd!

### Crowd Anim Blueprint <a href="#crowd-anim-blueprint" id="crowd-anim-blueprint"></a>

`CrowdAnimBlueprint.VerboseCompilerWarnings 1`: Enables verbose compiler warning for Crowd Anim Blueprint.

`CrowdAnimBlueprint.DumpCompilerOutput 1`: Dumps the output (AST, IL, Bytecode) from Crowd Anim Blueprint compiler to the logs.

`CrowdAnimBlueprint.OptimizeConditions <0/1>`: Enables or disables optimizations to logic performed by transition conditions when Crowd Anim Blueprint compiler is running. Defaults to enabled.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.msquared.io/creation/unreal-development/features-and-tutorials/the-animated-crowd/legacy-animated-crowd/animated-crowd-console-commands.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
