Description: A very simple addition that manually triggers the Respawn method of targeted spawners. Support for XMLSpawner, MegaSpawner, and the default RunUO spawner.
Support for the following prefixes:
- Single
- Global
- Multi
- Area
- Contained
To add support for MegaSpawner, or XMLSpawner look near line 95 for these two pieces of code.
Code:
/* To add Support for MegaSpawner, uncomment these two lines.
* if ( list[i] is MegaSpawner )
* ((MegaSpawner)list[i]).Respawn();
*/
Code:
/* To add Support for XMLSpawner, uncomment these two lines.
* if ( list[i] is XMLSpawner )
* ((XMLSpawner)list[i]).Respawn();
*/
To enable support for the two above types, remove the commenting like below:
Code:
if ( list[i] is MegaSpawner )
((MegaSpawner)list[i]).Respawn();
Code:
if ( list[i] is XMLSpawner )
((XMLSpawner)list[i]).Respawn();
Use the attached Commands.cs in place of the original.. The original can be found in \Scripts\Commands\Abstracted\Commands