View Single Post
sincla
Member
 
Join Date: Aug 2014
Posts: 52

Old September 4th, 2014, 05:52 PM
Got it! The "Invalid Alignment Specification" was because the portal definition was invalid. After deleting everything in the position script, the new error message was that I did not have the required "additem" element for my dynamic table that contained this template. Though the documentation said this element was optional.

I added an "additem" script to the table element. It then told me that the portals "level" and "HP" were referencing fields that were not present in the compset. This confused me because the compset was exactly the one I wanted. So I want to check the definition of the compset in the structure files, and lo and behold I had the wrong component name in the compref element.

It's instructive how you can't really always rely on the final error message given to you, but have to work your way backwards by eliminating one-by-one the things throwing error messages until you find the root cause which could be a different error message entirely.
sincla is offline   #2 Reply With Quote