Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old February 20th, 2018, 04:16 PM
Quote:
Originally Posted by Illyahr View Post
How would I go about doing that? I got it to select a thing and a helper feat to select a class. The original pulls tags from the thing and forwards them to the helper, I just need the helper to assign the thing to the selected class

Otherwise I have to do a series of if/then lines
Something like this should work:

Code:
var drgnmark as string

drgnmark = field[fChosen].chosen.idstring
drgnmark = "thingid." & drgnmark

foreach pick in hero from BaseSpec where drgnmark
  perform each.assign[AllowCust.discs]
nexteach
That's off the top of my head, so you might have to play around with it some more. If you can't get it working, give me some more details of what exactly you are trying to do, and I can refine it or maybe come up with something that doesn't need a foreach loop.
Sendric is offline   #4 Reply With Quote
 

Thread Tools
Display Modes

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 10: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.