Something else I'll mention is that this code allows for dynamic content, that can change on the fly, by simply repopping the zone. Lets say you want to set up a zone where there's a human settlement at the beginning, but if players explore into the nearby dungeon and kill an npc, it enrages the dungeons inhabitants and now they pour out into the adjacent zone and kill the human settlers. In the place of the settlers you can spawn the enraged dungeon NPCs...or just remove them and spawn new NPCs elsewhere in the zone.
It'll take additional perl scripting to initiate the event where the settlers are killed, but it's definitely possible to do.
|