| 01-16-2007, 08:36 PM | #1 |
can you please copy paste the custom scripts when weu enables advanced triggers? |
| 01-16-2007, 08:49 PM | #2 |
You mean the action "Advanced - Enable Advanced Triggers" ? JASS:call InitAdvancedTriggers( ) |
| 01-16-2007, 09:36 PM | #3 |
i'm not sure i tried using advanced functions and it fails. i have all the zz_ varialbes so i was reading this I gave them the ZZ_ preset so they will always be at the bottom of the variable list and you shouldn't mind them. Never edit or delete these global variables as they are required by the advanced triggers. The other thing that will be added are lots of JASS functions in the custom text header of your map. Everything between the function GetLength and the function InitAdvancedTriggers has been added by WE Unlimited and should never be deleted or edited. Only if you are a JASS guru you may try to customize certain parts of the script if you know what you are doing. When adding your own functions to the custom text header make sure you either add them above the block of WEU scripts or at the end of the block. If you accidently deleted a ZZ_ global variable or edited the custom text part this will be fixed when you load your map in the WEU Enhancer and disable and reenable advanced triggers there. and it seems to say that there's some JASS functions in the custom text header but i don't have any. i tried to readd it with enable/diablo in enhancer but nothing coes up |
| 01-16-2007, 09:44 PM | #4 |
Then you might be doing it wrong... We can't supply you with that script, its like... 10000 lines long give or take. |
| 01-16-2007, 10:33 PM | #5 |
oh, well do you think you can help me with it? the proper steps to get it to work i've havingn some really wierd problems 1) if i create new map with we enhancer, i get a level data missing invalid error and map doesn't load, if i select the map in we enhancer map editor, it just says the map is protected 2) if i edit a map i already have with we enhancer map editor and select use advanced triggers and click save and then try to open the map in weu, it gives an error saying trigger data is missing or invalid and doesn't open map, but if i i open the map then in we enhancer map editor, it can see the info and even extract the import data info etc. |
| 01-16-2007, 10:46 PM | #6 |
Is your version of WC3 TFT 1.20e? If so, try re-installing WEU. If that doesn't work, uninstall both WEU and WC3 and reinstall. If THAT doesn't work... Then you got me. Also, make sure you are opening your map in WEU, not normal WE. |
| 01-16-2007, 11:57 PM | #7 |
hmm is it possible for you to just make a new map, enable advanced triggers, and then go into trigger editor and export the triggors made by weu? i was able to salavage the trigger file from the corrupted map file i had, but i think a few things are missing like my setup function looks like Code:
function Setup takes nothing returns nothing local string S local string Backup = GetPlayerName(Player(12)) call SetPlayerName(Player(12),"Invalid Reference set S = GetPlayerName(Player(12)) if S != RegainCode(GetPlayerName(Player(13))) then call CallHimThief() call EndGame(true) endif call SetPlayerName(Player(12),"Unknown set S = GetPlayerName(Player(12)) if S != RegainCode(GetPlayerName(Player(14))) then call CallHimThief() call EndGame(true) endif call SetPlayerName(Player(12),"Nondescript set S = GetPlayerName(Player(12)) if S != RegainCode(GetPlayerName(Player(15))) then call CallHimThief() call EndGame(true) endif call SetPlayerName(Player(12),Backup) endfunction notice the call SetPlayerName(Player(12),"Invalid Reference call SetPlayerName(Player(12),"Unknown call SetPlayerName(Player(12),"Nondescript that's probably what's causing the corrupted trigger file |
| 01-17-2007, 12:40 AM | #8 |
Ask PitzerMike. he made WEU, he's the man you want for these questions. PM him or something. |
| 01-17-2007, 08:48 PM | #9 |
Indeed that's the piece of code where it's apparently scrwed up. You can just remove the code so that it looks like this: JASS:function Setup takes nothing returns nothing endfunction The protection option seems to be srewed there. |
