No definitely not using the same variable for both. This is a new feature I'm attempting to add to a marker that I created previously and has been working fine.
I commented out all code except for...
text2 0,1, WALL_DIRECTION
text2 0,2, SYMB_ROTANGLE
...and still get the same result. I'm stumped on this one.
I have however managed to effectively determine if the wall is mirrored (so to speak) using...
if AC_WIDO_REVEAL_SIDE = SAME_SIDE then
windowMirrored = 0
else
windowMirrored = 1
endif
...which I can then use to correct the direction and everything works
Next problem is I can't get the script to automatically update the orientation parameter without opening the settings dialog to force the master (or parameter) scripts to run. Mirroring the walls doesn't seem to run these scripts meaning the orientation gets outdated. 2D works instantly if I want to display the orientation but not the parameter for scheduling.
Is there a way I can force the parameter to update when the wall is mirrored (or when a new window is inserted)?
AC24 (7000 AUS FULL)| Windows 10 Pro | Intel Core i7-12700 @ 2.1GHz | 32GB RAM | NVidia T1000