| 06-17-2005, 12:10 PM | #1 |
Hello, i switched to WEU, to get some extra features, but only to make the map look better. So i edited the map and added the new things, but the file size was increased by around 100KB. So i wanted to change back, i removed everything done by the editor, opened the map with the enchancter, and disabled all special features. The normal editor can open it fine, but when i try to save i get this message: Line 185: Expected end of line "This is the lines with the error" //*************************************************************************** //* //* Regions //* //*************************************************************************** function CreateRegions takes nothing returns nothing local weathereffect we set gg_rct_SP_1 = Rect( -3200.0, -3072.0, -2688.0, -2560.0 ) set gg_rct_SP_2 = Rect( -3200.0, -384.0, -2688.0, 128.0 ) set gg_rct_SP_3 = Rect( -3200.0, 2048.0, -2688.0, 2560.0 ) set gg_rct_EP_1 = Rect( 2688.0, -3072.0, 3200.0, -2560.0 ) set gg_rct_EP_2 = Rect( 2688.0, -384.0, 3200.0, 128.0 ) set gg_rct_EP_3 = Rect( 2688.0, 2048.0, 3200.0, 2560.0 ) endfunction //*************************************************************************** //* //* Custom Script Code //* //*************************************************************************** st Any help would be appreciated. Thanks in advance. PS. If i try to host the map, it just goes back to the Local Area Network menu. |
| 06-17-2005, 08:16 PM | #2 |
That is an error in code.... if you enabled 'Advanced Triggering' then decided you didn't want it, you must have tried to manually delete all of the JASS, and all of the imports (very stupid!) that is probably a leftover function that you forgot to delete. I wouldn't suggest enabling 'Advanced Triggering', then trying to remove it manually. And even so, if you simply 'Disable Advanced triggering' you must have already fiddled around with the code, or removed a few functions. Just my guess. And as for going back to the local area network w/e, that is rejecting the map. Hopefully you made a backup copy of the map, and try not to blame WEU for your mistake. ![]() |
| 06-17-2005, 08:21 PM | #3 |
by the looiks of it, you will need to a) delete the four rectscausing the trouble (Ep1, EP2, EP3, SP1, SP2 and SP3), AND b) click on the custom sriptcode, that is the map icon in the trigger editor, and delete evrything there. Once that has been done, try and save it again |
| 06-18-2005, 05:08 AM | #4 |
I didn't delete ANY of the jass code. I left everything alone, i just wen't into the WEU Enchancter i removed the tag in Advanced Triggers. But i found a way to make it work, i just made a new map, copyed the terrain, triggers, regions, units, and object data. So the map is the same, but without the error. Thanks for actually helping me mogmiester, instead of calling me an idiot like Joey did :\ . When i said i deleted everything done by the editor, i only ment the Advanced triggers i had used in my triggers. |
| 06-18-2005, 05:09 AM | #5 |
Yeah... well, what can ya do... ;) |
| 06-18-2005, 05:15 AM | #6 | |
Quote:
). When i read your post again, and ignored the very stupid thing, it actually helped me alittle ;) .PS. Is i approve the good reputation or the bad? |
| 06-18-2005, 05:18 AM | #7 |
Well, I said '(very stupid!)', which is, in general not calling you stupid, but if you 'were' to delete those functions, it would be stupid. Sorry, I misunderstood you when you posted; -'i removed everything done by the editor, opened the map with the enchancter'- in that order, so, my bad. Notice how fast of a poster I am? I leave this thing on 24/7 and come back to the posts every time I walk out of the room. =) Ah, summer... |
| 06-18-2005, 01:33 PM | #8 |
there is a 'st' at the end of what you pasted |
