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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bob G
Senior Member
 
Join Date: Nov 2017
Location: Trafford, PA, USA
Posts: 226

Old January 9th, 2019, 02:55 PM
Quote:
Originally Posted by ShadowChemosh View Post
Your really close!

Code:
     ~Take the user's picks and make them class skills
     if (field[usrChosen1].ischosen <> 0) then
        perform field[usrChosen1].chosen.assign[Helper.ClassSkill]
     endif
To break this up think of this way. You PERFORM against the PICK a specific ACTION (assign).

The pick in this case is field[usrChosen1].chosen and then your action is "assign[]" a tag. Perform is usually used when dealing with tag actions like (delete, assign, pulltags, pushtags). Normally its not used with fields when doing normal arithmetic like addition, subtraction etc.
Thanks again SC, that worked. There's one last thing to fix. The ability asks the user to select three non-class skills. The dropdown window for the first two appear normally, but I think that the panel width is cutting off the third selection window. How to I tell the editor to 'wrap' the text so that the third selection appears below the first two?
Bob G is offline   #11 Reply With Quote
 


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:08 AM.


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