PDA

View Full Version : Enemy/NPC



The_Amaster
03-25-2008, 06:10 PM
Can someone who knows what they're doing just whip me up a NPC template? Preferably it should have, in addition to all the basic info on HP, sprite, etc., some room to put in a custom behavior thing. Just a blank section in the appropriate location with which I can play with intDir, intX & Y, intStep etc and some waitframes to set up a custom attack pattern.

Oh, and is there some kind of boolAttack that I can set true or false to make it attack on command, or the equivilent?

Also, am I correct in thinking that merely declaring say, intDir = 2 will apply its effect?

And finally, this is based on the assumption that using waitframes won't pause the enemies motion, but merely have it move according to step and haltrate without specific instructions. I believe this is how it should work, but I'm not 100% sure.

C-Dawg
03-26-2008, 03:17 PM
http://www.armageddongames.net/forums/showthread.php?t=101459