Full Version : UniqueID
xmlspawner >>Scripting Support >>UniqueID


<< Prev | Next >>

Zigamus- 03-03-2006
I made that WanderingStairs.xml script to run the staircases in 8 directions.

It requires me to specify the z level of the stairs.

Now I am trying to make a 'set' of them that will go from very low (z=-120) to very high (z=120).

I can 'clone' the files and adjust the z's in each, but I just noticed that each .xml file has a uniqueid, and that copying the file like I'm doing will force these to all have the same uniqueid number.

This is going to cause a problem, right?

Is there a way to force these to create a new uniqueid number as they are placed, if the one they have already exists? Or can I adjust these by hand as I edit each file? Maybe increment one of the middle numbers, so they will continue to have unique numbers?

xmlspawner/lever2.gif xmlspawner/off2.gif

ArteGordon- 03-04-2006
if you use the [xmlnewload or [xmlnewloadhere commands when you load it, then they will automatically get unique ids.

Zigamus- 03-04-2006
xmlspawner/on2.gif Thanx Arte! You've done it again! xmlspawner/on2.gif