Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Quote:
|
|
#11 |
Senior Member
Join Date: Nov 2013
Location: Andover, Ma
Posts: 632
|
I have tried all of the timings and three or four different numbers in each timing, and there is no change at all.
I have been trying to get this to work for about a week and a half. Getting slightly frustrating. Even more so since this is holding up my work on the faerun feats because most of them are attached to regions and I don't want to work on them until I have their prereqs down. Attaching File for further review, I have added comments as much as I can for clarity. |
#12 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Quote:
|
|
#13 |
Senior Member
Join Date: Nov 2013
Location: Andover, Ma
Posts: 632
|
I'm in New England as well soo yeah.. Know all about it.
|
#14 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
|
#15 |
Senior Member
Join Date: Nov 2013
Location: Andover, Ma
Posts: 632
|
More trouble, same as the previous code, it works unpredictably. Its really stumping me and I don't think I can continue. I've tried to examine the Authoring Wiki, but it just makes my head spin, without examples and 'non-technical' explanations.
Post-Levels (Users)/5000 Code:
~ Calculate our total level - our Kundula level plus any 'extra levels' ~ assigned to us var level as number level = field[xTotalLev].value ~ Assign the Number of times the alternate form is active. var dice as string if (level > 10) then dice = "Alternate Form (1/day)" elseif (level > 15) then dice = "Alternate Form (3/day)" elseif (level > 20) then dice = "Alternate Form at Will" endif field[livename].text = "" & dice & "" Last edited by TobyFox2002; January 6th, 2014 at 02:09 AM. |
#16 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Taking a look at this right now. Sorry for the extensive delay.
Update: There's nothing wrong with your code, though I think you would do better to use bootstraps to add languages rather than a script. In any case, from what I can tell, there's something about your file that has gotten corrupted. I saw a note where you had to delete all the old languages and make new ones. I wonder if something happened there. I am going to try to reconstruct this file myself and see if that makes these problems go away. Last edited by Sendric; January 6th, 2014 at 06:49 AM. |
#17 |
Senior Member
Join Date: Nov 2013
Location: Andover, Ma
Posts: 632
|
Quote:
Each region has multiple race options, to use bootstraps I'd need to create one trait for EACH race/region combination. Which I would rather not do if I could avoid it. Quote:
|
||
#18 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Quote:
lChessenta lDamaran lDraconic To do this with a bootstrap, you can use the following condition: Code:
hero#Race.Human | hero#Race.HalfElf Also, on your pre-req for Aglarond, you can reduce all that code to: Code:
validif (tagis[Race.Human] + tagis[Race.HalfElf] + tagis[HasTrait.trPFAdopte] <> 0) Quote:
OK, so I tried to re-create the use file, and I couldn't get rid of the error. So, then I started over, and created a trait called "test". As soon as I add this trait to the portfolio, I get the error. There are no scripts, tags or anything else on this trait. Therefore, I can only conclude that this error is a bug in HL. As frustrating as it is, I think you should just ignore it. The good news is that as a user, you probably won't see it. If you do, it would only be the first time you select it. |
||
#19 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Quote:
Code:
level = field[xTotalLev].value Final Phase/5000 Code:
~ Calculate our total level - our Kundula level plus any 'extra levels' ~ assigned to us var level as number level = herofield[tTotLevel].value ~ Assign the Number of times the alternate form is active. if (level >= 10) then field[livename].text = field[name].text & " (1/day)" elseif (level >= 15) then field[livename].text = field[name].text & " (3/day)" elseif (level >= 20) then field[livename].text = field[name].text & " (at Will)" endif |
|
#20 |
|
|