-
Create an ability called Taunt in the “CardAbility_FunctionLibrary”. The function doesn’t do anything except unhide feedback on the 3d Card.
-
Create the filter by Taunt function in the “ArrayFilters_FunctionLibrary”. This function checks for any active opponent 3d Card which has taunt.
3/4. Add a section to the “RunCardInteraction” function in the “CardGamePlayerController” and “CardGameAIController”.
- Add the new Taunt ability to a card which stays out on the board. My ability triggers “On Drop” and just unhides the Taunt feedback. Both human and AI players must attack an enemy taunt card before any other stargets can be attacked.
Hope this helps.