Can someone please rewrite this short trigger from GUI to vJASS, minus the errors, leaks, etc.
I do work in NewGen editor, so whatever coding you do my map will support.
http://www.hiveworkshop.com/forums/pastebin.php?id=6vngks
My map supports 10 players, and I need this trigger to run through Player 1 Red to Player 10 Light Blue.
The regions this trigger relates to are consistent.
They are: Red Teleport Area 1 to Light Blue Teleport Area 10 (in that order). Grey's teleport area is spelled Grey, not Gray.
And for the Exit Areas there are:
Red Exit 1 to Light Blue Exit 10 (in that order)
People I have consulted suggested I rewrite the code but I don't know how.
What I originally have in my map is ten of this same code for each player divided into separate GUI codes on their own. I have been told this doesn't run very smoothly and that it's possible to all be included in just one trigger / strip of JASS.
With that being said, yes, WC3 does allow offset Z to work like that, and it does work, but it's not the best it can be. A few experienced ppl I talked to were surprised with my offset Z usage in GUI for some reason.
Thank You.
I do work in NewGen editor, so whatever coding you do my map will support.
http://www.hiveworkshop.com/forums/pastebin.php?id=6vngks
My map supports 10 players, and I need this trigger to run through Player 1 Red to Player 10 Light Blue.
The regions this trigger relates to are consistent.
They are: Red Teleport Area 1 to Light Blue Teleport Area 10 (in that order). Grey's teleport area is spelled Grey, not Gray.
And for the Exit Areas there are:
Red Exit 1 to Light Blue Exit 10 (in that order)
People I have consulted suggested I rewrite the code but I don't know how.
What I originally have in my map is ten of this same code for each player divided into separate GUI codes on their own. I have been told this doesn't run very smoothly and that it's possible to all be included in just one trigger / strip of JASS.
With that being said, yes, WC3 does allow offset Z to work like that, and it does work, but it's not the best it can be. A few experienced ppl I talked to were surprised with my offset Z usage in GUI for some reason.
Thank You.