Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old February 21st, 2011, 09:53 AM
I thought I had this working, but it seems to give this error when a skill is picked.

"Attempt to assign field value with no pick context"

Here is the script:

if (field[usrChosen1].ischosen <> 0) then
field[usrChosen1].chosen.field[Bonus].value += 2
endif

And I attached a screen shot.

Any ideas of what is wrong?

Thanks yall for the help!
Attached Images
File Type: jpg Feb 21.jpg (360.1 KB, 9 views)
Frodie is offline   #1 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old February 21st, 2011, 09:55 AM
and this error when I reloaded HL

"Attempt to assign field value with no pick context
Location: 'eval' script for Thing 'trTest' (Eval Script '#1') near line 3"
Frodie is offline   #2 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,217

Old February 21st, 2011, 10:08 AM
Change the "Restrict first list to..." to "Picks on Hero"
Mathias is offline   #3 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 06:25 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.