Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
In the GUI trigger, when I change the ownership of a unit to player 1-6, the code works. However when I change the ownership to player 7-12, it crashes with a fatal error.
I have a unit which is neutral. When I use the Unit - Change Ownership of Unit to Player1 and retain color, it worked properly. However when I use Unit - Change Ownership of Unit to Player7, it crashes.
I tested and it's working properly. Its probably the trigger causing the problem. Can u post the trigger related to the unit u mentioned? (or probably more than one unit?)
Here are the images of the part where the trigger error occurs. By the way I have the exact same trigger but with different units, variable names and it works.
The whole Trigger is REALLY LONG, the concern is really in this part of the trigger. Beside, when I change the encircled part to Player 1 or 2 up to 5, even neutral, it works fine. So I believe this is the only wrong part.
Edit: when I delete the Change owner part, it works
Edit:: Never mind, I managed to fix it by not giving it to Player 7-11.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.