Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Duplicating maps
#1
What would be the best way to make an exact copy of a map whenever one is created?

Like, when it saves map1, it duplicates it and saves it to 2 also.

So basically every 2 maps are the same.

1=2
3=4
etc.
Reply
#2
Code:
For i = 1 to LastMap Step 2
   Map(i) = Map(i+1)
Next i
Reply
#3
Spodi Wrote:
Code:
For i = 1 to LastMap Step 2
   Map(i) = Map(i+1)
Next i

Wouldn't it be:

Code:
For i = 1 to LastMap Step 2
   Map(i + 1) = Map(i)
Next i

?
Reply
#4
Thats what I originally thought, but realized he wanted the smaller value on the left side of the argument.
Reply
#5
Spodi Wrote:Thats what I originally thought, but realized he wanted the smaller value on the left side of the argument.

Oh.. Duh. xD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)