Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Authoring Kit
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
MagicSN
Senior Member
 
Join Date: Nov 2012
Posts: 208

Old March 10th, 2016, 11:23 PM
Quote:
Originally Posted by Mathias View Post
For a table portal that's displaying many items, itemcount is the number of items that could be shown there. itemsshown is the number that Hero Lab was actually able to fit into the space you gave the portal, and maxrows limits itemsshown to that value.
Hello, Mathias!

Thanks for your offer to help.

My code is basically the DnD 4e Code. Asides from that the 4e code only accessed the first chosen image and ignored the others my code did not change it (I only tried to modify it so that the 2nd and 3rd image can also be used).

Actually I do not care that much how the GUI for chosing the images looks (if it is as currently, or only 3 images choosable at max). What I want to achieve is accessing the first 3 images the user chose and displaying them on the charsheet. My problem is with what I have is:

- Image 1 always works (which is good ;-) )
- Image 2 and 3 only sometimes work. Sometimes even like this, that if I take a .por file where it works, remove
the image and then add the same image (!) again it no longer works.

I basically tried similar to the already existing code in the 4e codebase

field[acTacImage].value = hero.findchild[UserImage,"TRUE",_CompSeq_].field[uimgImage].value

to do something like this:

field[acTacImag2].value = hero.findchild[UserImage,"TRUE",_CompSeq_].field[uimgImage].value+1
field[acTacImag3].value = hero.findchild[UserImage,"TRUE",_CompSeq_].field[uimgImage].value+2

Any help appreciated. Thanks.

Best regards,
Steffen
MagicSN is offline   #1 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 03:33 PM.


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