Simple Spawn System version 1.10 2011 July 18 by The Magus AKA Henesua henesua@gmail.com This ERF includes two scripts, one of which overrides the standard x2_def_ondeath. x2_def_ondeath performs almost identically to the original with one addition, tracking the death of creatures spawned with this system. This is a very simple spawning system. Purpose is to associate a data object with a creature, and thereby have persistency of the creature's data across respawns. Spawning and despawning using this system requires the user to call respectively either the SpawnCreature or the DespawnCreature function within user scripts. There is much room for expansion of this. I am using it in a module in which a creature is spawned and despawned a number of times, but I wanted to track its hitpoints across spawns, and not allow it to be spawned if it was killed. Version Notes: 1.1 - This version changed the SpawnCreature function to return the creature object so that it operates in the same manner as CreateObject. - This version also corrected the bad files that were included in the previous version. 1.0 -A future version may have an array object so that data custom to the creature can be stored and retrieved. Instructions: include _inc_simplespawn in any script in which you want to use this system. As long as your creatures use the default death script (which this system overrides) creature death should be tracked. The functions to use are SpawnCreature and DespawnCreature. They do as their names suggest. Whenever creating or destroying a creature, these functions should be used if you wish to track their data. See the scripts for more information.