I am currently making a small game in c++ and Qt. In the game, an npc call's the Wander() function which makes it randomly wander around. However, only one of these npc's can call the Wander() function at any one time - Is there a way around this?
If you need any more explaining then please leave a post. Been stuck on this silly problem for a while and was wondering if somebody could help me out.
Thanks in Advance,