What is the best way of handling a large amount (500+) of NPC's that wander around, looking to attack a player or an object (windows, doors, etc)?
Thanks,
Rekwan
ID:273428
Apr 12 2010, 7:55 pm
|
|
In response to Garthor
|
|
Thanks a bunch Garthor, I'm going to try going with the alternate route of having the players doing the scanning. This was my initial thought but having someone suggest it being a possible solution is very reassuring.
Thanks, Rekwan |
Alternatively, if there are far fewer players/objects than NPCs, have the players/objects be the one searching for NPCs to activate.
Note that if you HAVE to have the NPCs wandering regardless of player presence, that's okay, so long as you aren't searching for things every step. The resource hog is going through the list, not taking random steps.