Hi,
I have a game where the server is an instance of the game that is responsible for creating instances of objects for AI. These objects when created need to have certain variables set including who owns them and what colour they are. The problem is when I create them I can't give them anything because they can't be set to a reference, and the only way I can think to do this is to have the objects look to the server controller for the variables it needs but if there are several people doing this at once then things get messy and problems start occurring such as wrong team being set. Is there a standardized way of doing this?
Kindest regards and many thanks,
Scobbo