Sorry for taking so long, but I thought I had this figured out. Apparently not.
The CharType pick is being selected through a menu:
Quote:
<portal
id="menutype"
style="menuNormal">
<menu_things
component="CharType"
field="acType">
</menu_things>
</portal>
|
If I have the reset in a script on the actor early (initialize/3000), then it works when changing back and forth between CharType's:
Quote:
foreach pick in hero where "component.AttrSys"
if (hero.tagis[CharType.typShip] = 1) then
perform eachpick.assign[AttrType.System]
else
perform eachpick.assign[AttrType.Attribute]
endif
~perform eachpick.field[abiUser].reset
nexteach
|
With this though, it seems like it constantly resets, and doesn't allow incrementing of abiUser.