| 06-11-2006, 01:55 PM | #1 |
Just a quick question. I've got 2 triggers that do basically the same thing, but ones in GUI and ones in JASS. Does the JASS trigger override the GUI triggers, or does it go in order of the trigger's listing? |
| 06-11-2006, 02:47 PM | #2 |
Im not quite sure what you are saying. Do you mean if you have 2 trigger with the same name but 1 in Jass and 1 in GUI? Or do you mean 2 different triggers with 2 different names but with the same action and 1 in Jass and 1 in GUI? |
| 06-11-2006, 03:43 PM | #3 |
I would recommend removing the GUI trigger if you have a Jass trigger that does the same thing considering that will cause some issues with the game, and GUI leak from what I have heard. But all in all they all work in the order they were set to go in. |
| 06-11-2006, 06:56 PM | #4 |
They work in the order they compile in, I believe. You could take a look in the war3map.j file in the map, but there is some logic I believe as to how it compiles, so do a search. And if you mean 'override' as in 'replace', then no. Both will run. |
| 06-11-2006, 07:08 PM | #5 |
Girffen is correct, you can change the order the trigger runs in with 1trigadd |
| 06-11-2006, 07:27 PM | #6 |
They don't naturally follow any real 'logical' order though, iirc. I think they are in the order you created them (normally), not the order the appear in the trigger editor (which would be useful). |
