Switch on Gameplay Tag Descendants

Custom switch node that automatically generates out Exec pins from all descendants of a GameplayTag

  • 지원 플랫폼
  • 지원 엔진 버전
    4.27, 5.0 - 5.3
  • 다운로드 유형
    엔진 플러그인
    이 제품은 코드 플러그인과 함께 미리 빌드한 바이너리와 언리얼 엔진에 통합되는 모든 소스 코드를 포함하고 있으며 원하시는 엔진 버전에 설치하여 프로젝트에 따라 활성화할 수 있습니다.

Switch on Gameplay Tag Descendants is a custom switch node that automatically generates Out Execution pins from all descendants of a GameplayTag.


Official plugin page (Contains a short video).


This is particularly useful when your Gameplay Tag descendants represent a variety of gameplay options, and you want to add more cases down the road without updating your pins/branches constantly. 😃

You'll immediately see which case is not handled in your graph, as gameplay tag changes are reflected accordingly.



Sequence evaluation


✔️ One major feature is the capability to evaluate each connected case like a sequence node! Normally, each switch statement immediately jumps to the next pin without considering the rest (which is okay for single values).


Unconnected pins never influence runtime performance. Only connected pins are compiled.


✔️ The node's hover tooltip explains what behavior is currently active, along with a small node title change.



Huge maintenance benefit


✔️ You no longer need to use a lot of branches and HasTag nodes, which is a huge workflow improvement if you're using a lot of gameplay tags.


✔️ It's easier than ever to add more 'gameplay options' down your entire project and spot which cases have (not) been handled implementation-wise.



Questions


If you have any questions, feel free to ask them!



Changelog


  • v1.2.1 - Added a warning when no valid Root Tag is selected + minor adjustments.

기술적 세부사항

Features:

  • Automatic pin generation.
  • Possibly evaluate and run every connected case like a sequence node.
  • Change whether tags should match exactly or partially.
  • Change the type of pins that are generated.


Code Modules:

  •  Gameplay Tag Switch Editor (UncookedOnly • Default Loading Phase)
  •  Gameplay Tag Switch Runtime (Runtime • Default Loading Phase)


Number of Blueprints: 0

Number of C++ Classes: 3

Network Replicated: No

Supported Development Platforms: Win64, Linux, Mac

Supported Target Build Platforms: Win64, Linux, Mac, Android, IOS

Documentation: https://ubyte.dev/plugins/switch-on-gameplay-tag-descendants/