Page 1 of 1

how'd you get hhSelect to work?

PostPosted: Thu Jul 03, 2014 5:42 am
by dusktiger
hey guys,

i know your busy, but i've spent the better part of an hour and a pot of coffee trying to figure this little problem out, so im resorting to picking your brains on how you got this to work;

i'm trying to copy your method of hiding/revealing the exchange boltgun options in the horus heresy file. i've looked through the live expr code, and the hhHelper tag, and prescript, postscript.....and i cant figure out how you did it!

i know how you got it to let you select to exchange the bolter, and how it unchecks the bolter and checks the hhSelect item, but i cant figure out how it suddenly reveals all the combi-weapons, and furthermore, reds them out to show i have to select one to validate the exchange.

all of my attempts at copying the wargear options and their exclusions and remainders and live expr have been fruitless, and i just end up with the options either always being visible, and having them grey out once i choose exchange bolter, or they never show up at all.

what am i missing here?

Re: how'd you get hhSelect to work?

PostPosted: Fri Jul 04, 2014 4:34 am
by Homer_S
dusktiger wrote:hey guys,

i know your busy, but i've spent the better part of an hour and a pot of coffee trying to figure this little problem out, so im resorting to picking your brains on how you got this to work;

i'm trying to copy your method of hiding/revealing the exchange boltgun options in the horus heresy file. i've looked through the live expr code, and the hhHelper tag, and prescript, postscript.....and i cant figure out how you did it!

i know how you got it to let you select to exchange the bolter, and how it unchecks the bolter and checks the hhSelect item, but i cant figure out how it suddenly reveals all the combi-weapons, and furthermore, reds them out to show i have to select one to validate the exchange.

all of my attempts at copying the wargear options and their exclusions and remainders and live expr have been fruitless, and i just end up with the options either always being visible, and having them grey out once i choose exchange bolter, or they never show up at all.

what am i missing here?


I was typing an awesome answer to this, hit the wrong frakkin' key on my laptop and lost it. Anyway. look at the prelinks for the Legion Praetor, it is assigning the tag hhHelpers.Select based on selecting hhSelect once or assigning the tag hhHelpers.Select2 based on selecting hhSelect twice. Then look at the linkset hhPraetrAA and scroll down to the hhArchPst, there are two of them around priority 250. Finally, look at the live condition applied to each. That is the answer.

Homer

Re: how'd you get hhSelect to work?

PostPosted: Fri Jul 04, 2014 4:50 am
by dusktiger
WOOOOOO!!!!! i figured it out!! thanks Homer!! that's gonna make my coding look SO much cleaner now!