DAS Action

Action is basically a behavior executed by AI that lives in Action Point.
There are few types of actions ready to use in the system:

  • Play AnimMontage
  • Play AnimMontage with Condition ( used for Dialogues )
  • Wait
  • Call Function

Action has 2 functions to override, both of them are called on Clients and Server.

  • Receive Execute - when AI starts executing Action
  • Receive Finish Execute - when AI stops executing Action or when Action was interrupted

New Actions can easily be created.
This is how implementation of Wait Action looks like

Implementation is rather simple, just to calculate wait time and finish execution after that.
There are 2 exposed variables ( Instance Editable & ExposedToSpawn ) that can be modified:

  • Wait Time
  • Random Deviation