For relative positioning, the parentWidget and parentLinked are god sends.
I'm modding the Conjurer party pet status bars that normally appear below the character status along the left hand side of the screen.
Since all of the partyMember*.mnu files contain reused data, I was trying to figure out how to build an abstract widget type that would lend repeated values to descendant widgets.
Example pseudo code of what I want to do:
// In some file named abstractPartyMenu.mnu
// Below I define the Widget, StatBar, and StatusEffectIcons
// curently found in the partyMember*.mnu files
// and give all of the widgets internalName values
and in another file
// I supply the positioning for this widget
position 5.0 80.0
// For each of the properties that are not generic
// I set the non-generic values. For example,
// the Health bar widget
// operates like the parentWidget property
// size, color, texture aren't needed, but the
// entityIndex would need to be modified
// and so would any specific activities
Is this, or something like it, possible?