So I'm having some issues that are rather disappointing.
My intent with my Open Source Leader Board was that it could be easily copied and pasted in to other maps and then slightly modified to get it up and working in a map.
The problem is that when I paste certain parts of it into a map (SOME) of the references to record variables are broken.
I would prefer if people not try to guess what the problems here are and leave it to people who are a bit more experienced. This appears to be a technical issue.
I have my triggers and associated records divided into several different folders. Oddly enough the triggers in the same folder structure as the record doesn't seem to lose its variable references.
If you look at my leader board map. You can copy The "TeamSort" lib and the "BankStats" lib with out any error messages. None of the variable references will break. So paste these into the new map. Then if you try and paste the "LeaderBoard" lib or dialog folder cant remember the name exactly off hand but when this is pasted all the references to the "TeamSort" and "BankStats" records are broken.
I have a great deal of code written and when I paste it in it acts as if these records do not exist. But they do........
When I paste the first "TeamSort" Lib into the map the variable pointing at the Record appears to be broken and pointing to an undefined record. So I fix that before moving on.
The file with the triggers is here http://www.sc2mapster.com/media/attachments/32/392/OpenSourceLeaderBoard.SC2Map
Any help on why some of these record variable references break when pasting the code would be appreciated.
KageNinpo = SN
DialogLeaderboard & TeamSort
Aside from it not being a library in the map :P . the main problem is you try and load the sections one by one. What you need to do is create one main folder and put all the elements of the library in there. Then when you copy paste it you do not get any problems. Once it's in the map then they can remove what they do not want.
I'm watching you
Need Help with dialogs? Use Dialogception
What happens is when you copy paste it tries to copy out of order if it isn't well organized into folders. So sometimes something will try to reference a variable that hasn't been copied yet, and it breaks.
I will add that if you have a record within a record then it will also break while copy/pasting
You must login to post a comment. Don't have an account? Register to get one!