Programming‎ > ‎

AI Controller

Behave Setup
  1. Open the "Rust" behave library (Plugins/Behave-Rust/Rust.asset)
  2. Add a new behaviour tree
  3. Add a new agent blueprint

  4. Check "MonoBehaviour derived" on the agent blueprint
  5. Include the corresponding tree in the agent blueprint
  6. Fill out the behaviour tree (see Behave docs)
  7. Compile the Behave library (select the library, click "Apply changes")
Script Implementation
  1. Add Behave namespaces
  2. Inherit from the agent blueprint
  3. Implement tree and entity ticking (see WolfController.cs for the basics)
André Straubmeier,
Sep 1, 2014, 7:02 AM