| Mirage Source http://web.miragesource.net/forums/ |
|
| Duplicating maps http://web.miragesource.net/forums/viewtopic.php?f=201&t=3057 |
Page 1 of 1 |
| Author: | Rezeyu [ Mon Nov 19, 2007 4:54 am ] |
| Post subject: | Duplicating maps |
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. |
|
| Author: | Spodi [ Mon Nov 19, 2007 5:24 am ] |
| Post subject: | Re: Duplicating maps |
Code: For i = 1 to LastMap Step 2
Map(i) = Map(i+1) Next i |
|
| Author: | Matt [ Mon Nov 19, 2007 12:30 pm ] |
| Post subject: | Re: Duplicating maps |
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 ? |
|
| Author: | Spodi [ Tue Nov 20, 2007 12:30 am ] |
| Post subject: | Re: Duplicating maps |
Thats what I originally thought, but realized he wanted the smaller value on the left side of the argument. |
|
| Author: | Matt [ Tue Nov 20, 2007 12:41 am ] |
| Post subject: | Re: Duplicating maps |
Spodi wrote: Thats what I originally thought, but realized he wanted the smaller value on the left side of the argument. Oh.. Duh. xD |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|