Show / Hide Table of Contents

Class HTNPrimitiveTask

Inheritance
System.Object
HTNTask
HTNPrimitiveTask
Namespace: Content.Server.NPC.HTN.PrimitiveTasks
Assembly: Content.Server.dll
Syntax
public sealed class HTNPrimitiveTask : HTNTask

Fields

| Improve this Doc View Source

ApplyEffectsOnStartup

Should we re-apply our blackboard state as a result of our operator during startup? This means you can re-use old data, e.g. re-using a pathfinder result, and avoid potentially expensive operations.

Declaration
public bool ApplyEffectsOnStartup
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

Operator

Declaration
public HTNOperator Operator
Field Value
Type Description
HTNOperator
| Improve this Doc View Source

Preconditions

What needs to be true for this task to be able to run. The operator may also implement its own checks internally as well if every primitive task using it requires it.

Declaration
public List<HTNPrecondition> Preconditions
Field Value
Type Description
List<HTNPrecondition>
| Improve this Doc View Source

Services

Services actively tick and can potentially update keys, such as combat target.

Declaration
public List<UtilityService> Services
Field Value
Type Description
List<UtilityService>
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾