Thread: sortas usage
View Single Post
eastsydneyboy
Junior Member
 
Join Date: Aug 2020
Posts: 8

Old November 1st, 2020, 08:58 PM
I came across some usage that I'm a bit puzzled over in d20 file srd_attributes.dat. In the definition of the thing 'uINT', there's a comment about sorting order that I don't quite get, and an eval with a sortas="LevelBonus". My confusion stems from the fact that the documentation says that the sortas attribute "is only applicable to component scripts", yet this is a thing script.

Why is there a sortas attribute here, and what would it even do? If there are multiple 'uINT' things, then they would all have the same id or name, so I'm not sure what sorting them would do.

Any help in understanding this would be appreciated, and this seems most confusing.
eastsydneyboy is offline   #1 Reply With Quote