The compiler is constantly throwing an "Invalid Alignment Specification" error over the following position script, and I have no idea why. The problem is on line 8, aligning portal[name] to the right of portal[level]:
This has worked in other scripts including one in the same file and I can't find any documentation on what constitutes invalid alignment specifications.
Driving me crazy! Any insights?
Code:
<position><![CDATA[
1
2 ~center the portals vertically
3 perform portal[level].centervert
4 perform portal[name].centervert
5 perform portal[HP].centervert
6
7 perform portal[level].alignedge[left,3]
8 perform portal[name].alignrel[ltor,level,3]
9 perform portal[HP].alignedge[right,-3]
]]></position>
This has worked in other scripts including one in the same file and I can't find any documentation on what constitutes invalid alignment specifications.
Driving me crazy! Any insights?