/LogicDriver-Example

Example Project for the UE4 State Machine Plugin - Logic Driver

Primary LanguageC#

Logic Driver 2.0 Example Project

Requires Logic Driver 2.3

Looking for Logic Driver LITE's Blueprint Only example project? Download from here.

Installation

  1. Open the releases page or clone the repository using git clone --recurse-submodules
  2. Download LogicDriverExample.zip

Download Image

  1. Open LogicDriverExample.uproject
  2. Unreal should prompt to build the project

Installation & Walk-through Video

ExampleProject Walkthrough

Documentation

Example Map

  • Basic state machine usage, contexts, and ticking
  • Event based trigger with manual binding
  • Event based trigger with auto binding
  • Custom state class to print text and custom transition class with time delay
  • Exposing a text variable with a default value, editing the default value, and using a text variable
  • Dynamic instantiation of a state machine during run-time using custom classes and waiting for its completion

AI Example Map

  • AI Patrol Behavior

Dialogue Example Map

  • Sample Dialogue implementation using the LogicDriver-Dialogue Plugin
    • This is a submodule of this project and is required for this example
    • The plugin can be used as an example on how to overload state and transition classes in C++
  • A dialogue system can be implemented entirely using Blueprints. See Dialogue System Concepts for more information

Quest Example Map

  • Sample implementation of a simple fetch quest system. Each quest node is a state machine class containing quest objective state nodes.
  • Behavior rules are setup so BP_QuestObjectiveNode states can only be placed in state machines of type BP_QuestStateMachine.
  • First room runs sequential quests.
  • Second room runs parallel quests.

Skill Example Map

  • Demonstrates branching parallel states and leaving states active.