Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
Seperate instance from above:
Is it possible to have a feat have 2 drop down selections for player choice? Education allows you to select 2 knowledge skills that you gain a +2 bonus to. Just thought I would ask for future. If it is not possible, I will make a version of the feat for each Knowledge skill, then the players can select the second skill they want to get a bonus in, although this is dependent on the above limited/skill selection and give bonus problem being solved. |
#11 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,217
|
Quote:
|
|
#12 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,217
|
Quote:
For the second, try #skillbonus[field[fChosen].chosen] += 2, I think that's probably the correct way to access it (I haven't tested it yet). |
|
#13 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
|
#14 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
Quote:
"Attempt to assign field value with no pick context" Number 2 gives me "non-existant thing 'field' used by script" |
|
#15 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,217
|
|
#16 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,217
|
Quote:
Thinking about it further, #2 shouldn't work even if the syntax was right - the ALLXXX things aren't skills, they're just value holders that get added to the skills. For now, you can probably go with three feats with the following in their script: hero.child[AllCraft].field[Bonus].value +=2 (of course replaing it with profession and knowledge skills for the others). Each feat can have a expr-req to restrict it to the race, and if you start the unique ID of each feat with the same characters that aren't used anywhere else: fTinkGnCra fTinkGnKno fTinkGnPro you can put an expression requirement on the race that: hero.tagcount[HasFeat.fTinkGn?] = 1 (which means that it has exactly one feat whose unique ID starts with "fTinkGn") |
|
#17 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
Quote:
I'd already done something like that, but cruder. I changed it to yours as it is more elegant. Unfortunately both cause the race to be invalid for selection (because they require the feat to qualify for the race, rather than the race giving a feat as a bonus, also, selecting the feat is invalid because it requires the race!). It would be cool if there was a way to make a feat select all craft/profession etc skills, eh? *Wink wink, nudge nudge Colen/Rob* But as things go it is pretty low on my list of requests. Something else really frustrating I have noticed? The inability to scroll in Class Tabs in HL. I have classes that are so chock full of Class specials, custom abilities, and bonus feats that their spell selection button is pushed clear off the bottom. I've got Wu Jen that can't add any spells to their spellbook or memorize any! Does anyone know a way to customize the tabs so this information is put at the top and Class specials (which already can be scrolled through) are at the bottom? |
|
#18 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,217
|
Quote:
Code:
if (hero.tagcount[HasFeat.fTinkGn?] = 1) then @valid = 1 endif |
|
#19 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
Thanks, that worked well. Any ideas about the reformatting issue?
|
#20 |
|
|