 |
dacheeba Adept
Joined: 29 Oct 2001 Posts: 250
|
Posted: Tue Feb 19, 2002 7:40 pm
Numbering Rooms in the mapper |
After editing my maps time and time again,the room numbers have become displaced and inconsistant.Can anyone think of a good way to renumber all the rooms in a given zone(without doing it manually)so that i dont go from #148 to like #157? I dont care if its renumber from first room created to last, or from left to right, or whatever...just as long as it goes from 1 to whatever without any skips.Thanks
|
|
|
 |
Kjata GURU

Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Tue Feb 19, 2002 11:53 pm |
Try this:
#LOOP 1,%numrooms() {#NOOP %roomnum(%mapvnum(%i), %i - 1)}
Kjata |
|
|
 |
Vijilante SubAdmin

Joined: 18 Nov 2001 Posts: 5182
|
Posted: Wed Feb 20, 2002 5:48 am |
If you have any numbers duplicated, then you will have to run that loop more then once. If the mapper has been doing all the numbering for you then there won't be any duplicates.
|
|
|
 |
Charbal GURU
Joined: 15 Jun 2001 Posts: 654 Location: USA
|
|
|
 |
|
|