But keep in mind, if you give your mobs a command buffer. You are going to use a little bit more memory. Which isn't a problem, but I try to be concervative with memory. A bare pointer may only take 4 bytes. But multiply that by 1000 mobs, and that 4 bytes isn't so small.
----- Original Message ----- From: "Chad Simmons" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, October 13, 2003 12:45 PM Subject: Re: Charmed Monsters and Interpert > > --- [EMAIL PROTECTED] wrote: > > Hello, > > I was wondering if anyone knew how to make it so that interp for the order > > > > command would be affected by the delay state of the monster so that the > > monster > > couldn't be given commands that could be used in combat to gain an advantage. > > > > Such as, kicking infinitly. I am not sure how to do this as monsters don't > > seem > > to be affected by a wait state. > > Any thoughts, ideas? > > The problem is that mobs don't have a command buffer, everything they do is > executed immedietly. My suggestion would be to reorganize the way NPC's are > treated in the game. If you give them a command buffer (like PC's) you can give > them a wait_state also, and this will keep you from having to program in > special logic for mobs into all your commands, etc. > > ~Kender > > ===== > -----BEGIN GEEK CODE BLOCK----- > Version 3.1 > GCS/L/C/O d-(+) s++: a-- C+++$>++++ UBLS++++$ > P+++(--)$ L+++>++++ E--- W+>++$ N !o K? w(--) !O > M- !V PS+ PE(++) Y+ PGP->+ t+ 5 X+() R(+) tv+@ > b++(+++) !DI+++ D G(-) e>+++$ h---() r+++ y+++ > ------END GEEK CODE BLOCK------ > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product search > http://shopping.yahoo.com > > -- > ROM mailing list > [email protected] > http://www.rom.org/cgi-bin/mailman/listinfo/rom >

