Vixen
caa30e12
csharp
public sealed class GoapActionContent

One action, as a file holds it.

Read the guide page for this →

Remarks

⚠ The task is named the same way a behaviour tree and a utility set name one, out of the same BehaviorNodeSchema and into the same registry. Three planners, one action library — which is doc 37 § D2, and the third of three files to prove it.

Fields and properties (9)

  • public string Name

    What it is called.

  • public string Task

    Which task it runs, as BehaviorNodeSchema names it.

  • public Dictionary<string, string> Fields

    The task's fields, by name.

  • public List<GoapConditionContent> Conditions

    What has to be true before it can run.

  • public List<GoapEffectContent> Effects

    What it changes.

  • public float Cost

    What it costs before the world has its say.

  • public string Target

    Which target sensor says where it happens, or empty for nowhere.

  • public float StoppingDistance

    How close is close enough, in metres.

  • public GoapMoveMode Move

    Whether the agent has to be there first.

Used by (9)

  • GoapDomainContentVixen.Ai
  • GoapDomainContentCompilerVixen.Ai
  • TypeRegistrationVixen.Ai
  • Vixen_Ai_GoapActionContentSerializerVixen.Ai
  • Vixen_Ai_GoapDomainContentSerializerVixen.Ai
  • GoapDomainDocumentVixen.Editor.AssetEditors
  • GoapDomainDocumentTestsVixen.Editor.AssetEditors.Tests
  • GoapDomainViewVixen.Editor.AssetEditors
  • GoapGraphProjectionTestsVixen.Editor.AssetEditors.Tests