PDA

View Full Version : looking for some minor beginner help



Ckorik
March 6th, 2020, 14:03
I wanted to start on a new character sheet - the first thing I wanted to do was delete some values that will not be used - but I'm having a bit of an issue - example:


<ability_fields_container name="strdetailframe">
<anchored to="strength" />
</ability_fields_container>

<percentile_abilityfield name="strength_percent" source="abilities.strength.percent">
<center />
<min> 0 </min>
<max> 100 </max>
<anchored to="strdetailframe" position="insidetopleft" offset="5,6" />
<labelres>char_label_ability_percent</labelres>
<tooltip textres="char_tooltip_percentile" />
</percentile_abilityfield>
<label_ability_fields>
<anchored to="strength_percent" />
<tooltip textres="char_tooltip_percentile" />
<static textres="char_label_ability_percent" />
</label_ability_fields>

This is the thing I want to delete - so I tried :

<ability_fields_container name="strength_percent" merge="delete">

That resulted in errors of all the sub chained stuff still trying to link to the thing - so ten I tried

<percentile_abilityfield name"strength_percent" merge="delete">

That worked - but the <label_ability_fields> in the above code still tries to label a field that no longer exists - there is no tag to that code - how can I overwrite that or suppress it while removing the item(s) I don't need?

Trenloe
March 6th, 2020, 14:31
If there are controls with no name in a windowclass, then you'll need to replace the whole windowclass to remove/modify the unnamed the controls.