I’m trying to make a “sim” type of game, but I can’t wrap my head around exactly how I can manage to code it in AS. Basically, in the environment there are people, and each one holds a different amount of information about them (Name, Age, Birthday, Favourite colour, etc.). I’m not sure how I would do this, could I use some sort of array? As people need to be “generated” Based upon certain variables, I don’t know how I would go about creating an array that could handle adding new characters to the scene.
Basically I need to know how to assign certain ‘random’ values to an object and then be able to mould these later based on time / things that occur onscreen.
Could anyone either point me to some tutorials or just give me an idea of how this could be done so that I could try it out (ie. a small example)
Help much Appreciated.