Lumberyard
User Guide (Version 1.15)

Using Auto Disable for Agents

This topic references tools and features that are legacy. If you want to use legacy tools in Lumberyard Editor, disable the CryEntity Removal gem using the Project Configurator or the command line. To learn more about legacy features, see the Amazon Lumberyard Legacy Reference.

You can save processor time by not updating distant AI agents. To control this on a global and on a per-agent basis, enable the AutoDisable property.

To enable AutoDisable using the Rollup Bar

  1. In the Rollup Bar, on the Objects tab, click Entity and select your asset.

  2. Under Entity Properties2, select the AutoDisable check box.

To enable AutoDisable using Flow Graph

  1. In Lumberyard Editor, click Tools, Flow Graph.

  2. Under Flow Graphs, select your asset.

  3. Right-click anywhere in the graph and then click Add Node, AI, AutoDisable.

  4. In the AI:AutoDisable node, click ON to enable AutoDisable.

Note

You can also enable AutoDisable by setting the console variable ai_UpdateAllAlways value to 0.