> I wrote my own mob olc, but i have 1 problem with it. I can't figure out > a for loop that will allow me to check all the mobs in the game, so > i can update there stats. I tried something like: *thinks it funny you can make mob olc and not do something like this :P* struct char_data *vict; extern struct char_data *character_list; for (vict=character_list; vict; vict=vict->next) { if (IS_NPC(vict)) { ... ... } } -- Greg
This archive was generated by hypermail 2b30 : 12/07/00 PST