Sending Water jet

I am a new on EU4 and I shall like making something. I’m using the template FirstPersonShooter with C++ code.
When one player fires, that sends a infinity water jet until he releases his mouse button. I have no idea to make it.
Sorry in advance if it is not good section ^^