Zezombye / overpy

High-level language for the Overwatch Workshop with support for compilation and decompilation.
GNU General Public License v3.0
178 stars 27 forks source link

OverPy will accept If-then-else for Sort Order #376

Open CBF2006 opened 2 months ago

CBF2006 commented 2 months ago

So I was trying to setup a if-then-else for my hud text location in OverPy, compiled fine, however once I tried to import it it said some part of the text was "null". Upon inspection of the Workshop found that you can only set "Left, Right, Top", so even though it was compiled correctly, the Workshop importer didn't know what to do.

I think it might be handy for this to trigger a compile error so you don't have to spend 10 minutes figuring it out like I had to