Skip to content

Targeting Chains

A Blueprint targeting system is implemented in the project, for passives and projectiles. Targeting BP functions prefix is TC_ .

Philosophy

  • If a target is found, the chain returns found character.
  • If not, the chain continues.

Characters

Configure routes in Class Defaults > Targeting > Routes:

  • Route Name (ex: fire, oil)
  • Passive Tags and/or Passive Classes

Graph

Override TargetChain function in any BP_Character:

  1. TC Get Route Name
  2. Switch on Name
  3. One branch per route
  4. One Return Node per branch

WARNING

Make sure to connect Current Chain pin on every node.

For everything else

TC_ BP Functions are usable within all of the project, but only works on targeting characters. Just make a TC chain