[WordGame]How can i create a text attacks?

Hi guys! (P.S. Thx 4 UE4, GJ!)

Can you help me? I want to create a system (…i think it’s a 2d game like Metroid) when player can attack enemies with typing text in motion without losing control. Like Mario can kill koopas by typing text while he jumping in the game. How can i do this?

P.S. I’m learning your engine with creating the game, so i don’t know much. Could you please reply to me as much detail.
P.P.S. + 100 karma for documentation