QUOTE |
- added the commands "[xmlnewload filename [spawner prefix][-maxrange range]" and "[xmlnewloadhere filename [spawner prefix][-maxrange range]" which are the same as the [xmlload and [xmlloadhere commands except that they do not attempt to replace existing spawners by checking for matching GUIDs (every xmlspawner gets one), but rather automatically add new spawners and assign them new GUIDs on loading. They also override any specified Map settings in the file and use the players current map instead. This allows you to make a .xml file and use it as a template for creating spawners that can be placed repeatedly. Note, that you will not be able to [xmlunload spawners that are loaded in this way since there would not be a file containing the new GUIDs. If you wish to be able to unload them, then after loading spawners in this way, I would recommend doing an "[xmlsave filename [spawner prefix]" of them so that they are now uniquely defined in their own "[xmlunload"-able file. The [xmlnewload" command can also be used to copy spawns between felucca and trammel. For example, to duplicate felucca in trammel, go to felucca and do an [xmlsave, then go to trammel and do an [xmlnewload (thanks to Quantos for the suggestion). |