Copy maps, but maps have to use different variables.

Started by cessern, January 21, 2015, 05:35:39 am

Previous topic - Next topic

cessern

January 21, 2015, 05:35:39 am Last Edit: January 21, 2015, 07:05:23 am by cessern
I need different rooms for my game. Atm right now, it can only hold one 1 vs 1 map. It uses global variables and switches so if I were to copy it, the other map would turn on switches that would mess with the first map. I think the possible solutions is making the global variables and switches only work inbetween the two people inside the map. Another solutions may be to just make the second map use a different set of variables. Like ID = [ID+600]. so 1 -> 601, 2 -> 602, just so that the map uses different variables and switches from the first one. Do any of you know how to make script that do these stuff? (I'm using RMX-OS) Or do you guys know another easier solution.