How to show party members in turn-based RPG battle system

Hi there. I’m having a problem that sounds deceptively simply. Basically, I’m working on a turn-based, side view battle system (think Final Fantasy) where the four player-controlled characters load up on one side of the screen. Each character has a different set of sprites/animations and actions/attributes available based on the classes and abilities chosen by the player. My partner and I are having a hard time getting this to work.

We’re thinking the way to do this is through having a game object that has four instantiated objects within it. The objects would get passed information about which character they are supposed to be, and make use of a prefab for each character class’s sprite animation set. Sprites and general layout are being done with the 2D Toolkit package.

We’re having trouble correctly instantiating and referencing objects through scripts. If we could be pointed towards some example code for this situation, it would be greatly appreciated!

Not to be too negative, but if you’re having trouble “instantiating and referencing objects through scripts”, then you really need to spend some time learning Unity/scripting by making some tiny games rather than a turn-based RPG.

The biggest issue is that what you’re asking is going to tie into all of your other game systems. You really need to get a handle on the big picture of how your game systems tie together before you attempt to tackle this.