I'm making a game where the characters can be equipped with a melee weapon and a ranged weapon, similar to a handful of games in the Megami Tensei series; Devil Summoner, Strange Journey, and Shin Megami Tensei IV to name a few. I want each party member to have two generic attack options, a melee attack and a ranged attack.
How could I give each character an "Attack" and "Shoot" command?
How could I give each character an "Attack" and "Shoot" command?