- Joined
- Mar 6, 2006
- Messages
- 282
Ok. So the story begins where I'm making a semi-heavy math related trigger in GUI (just touching upon JASS, but more confident with GUI). Everything is going smoothly until I test the trigger and the result in game is rather unexpected. My first reaction is obviously I made a math error. But after testing the math several times, it appears to be correct.
That was the point I was stuck at for a long time, and I was ready to post the trigger here to see what you guys thought. But then (not sure why) I decided to completely remake the trigger the same way I previously did with the same exact math. I disabled the old trigger and tested the new one and it worked perfectly. Completely baffled.
I made a copy of both the old and new trigger then converted them to JASS. What I found was disturbing; random actions and functions that were copied many times, some from other triggers.
How could this have happened? And if this CAN happen, it's scary to think what other triggers it has happened to in the past, while I'm tearing my eyes out trying to figure out what I'm doing wrong and it's actually the World Editor's fault.
That was the point I was stuck at for a long time, and I was ready to post the trigger here to see what you guys thought. But then (not sure why) I decided to completely remake the trigger the same way I previously did with the same exact math. I disabled the old trigger and tested the new one and it worked perfectly. Completely baffled.
I made a copy of both the old and new trigger then converted them to JASS. What I found was disturbing; random actions and functions that were copied many times, some from other triggers.
How could this have happened? And if this CAN happen, it's scary to think what other triggers it has happened to in the past, while I'm tearing my eyes out trying to figure out what I'm doing wrong and it's actually the World Editor's fault.