View Single Post
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321

Old October 11th, 2017, 01:58 PM
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.

Last edited by TCArknight; October 11th, 2017 at 02:12 PM.
TCArknight is offline   #9 Reply With Quote