To avoid having every NPC with the same name respond, you can always name your perl file by the NPC ID. So instead of an_orc_pawn.pl you can just have 1003.pl (or whatever). Also certain naming conventions will appear as the same name but will be different NPC ID's. #'s before a name and _'s after will allow you the same NPC appearance with a different script.
There are several different ways to get a NPC to agro at a certain time. Have the first NPC despawn and a KOS replacement spawn during the hp event is probably the easiest way to make it happen. You can also use quest objects to put the PC on the NPC's hate list, thus creating agro.
|