How do you make a character help the Main character.

I want to make characters aid the main character. I would also like for the Main character to command the sub characters to move to a certain place, kind of how you would on Rainbow 6 Vegas 2. I have no idea on how to script but place the script anyway because I’ll just look at youtube videos on how to do it.

2 Answers

2

This is unfortunately too large of a question. There are ultimately many possibilites and the script could vary indefinitely. what type of game are you making? top down? fps? 3rd person adventure? what do you want it to do specifically? Without knowing your project it would be impossible to do this all in one script.

I am making a Fps.

it's a small mistake...... .Count is used for lists...arrays like what you're using use .Length

you can either use a list instead of array..or just replace Count with Length