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:
TC Get Route NameSwitch on Name- One branch per route
- One
Return Nodeper 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