Im programming ARPG game similiar like Diablo 2 and i cant understand how are npc controlled over network.
I know how to move and give commands to NPC players but how server "knows" where are obstacles etc. I have some idea in my head, i try to write it here , i was thinking this :
When player comes view of monster, player send's packet to server and server gives order to npc unit to act, am i right?