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
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old June 27th, 2015, 07:42 PM
Is there a way to set an automatic max limit in the editor? I have an compset that I want to only be able to be taken twice. And another that should only be able to be taken 3 times.
AndrewD2 is offline   #1 Reply With Quote
Kairos
Senior Member
Volunteer Data File Author
 
Join Date: Feb 2009
Posts: 173

Old June 27th, 2015, 07:48 PM
Quote:
Originally Posted by AndrewD2 View Post
Is there a way to set an automatic max limit in the editor? I have an compset that I want to only be able to be taken twice. And another that should only be able to be taken 3 times.
You probably want to look at a Validation script on the thing (not the compset) that uses a tagcount to determine how many times that thing has been taken.

Authoring Kit Rule Sets (now with functioning links!):

Qin: The Warring States

Doctor Who: Adventures in Time and Space

MEGS/BoH/DC Heroes (work in progress)
Kairos is offline   #2 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old June 27th, 2015, 07:53 PM
I refer to compset because that's how editor tabs are made. Maxlimit is a field on the editor tab that prevents any any more from being added where a validating script is just a component level pre-req.
AndrewD2 is offline   #3 Reply With Quote
Kairos
Senior Member
Volunteer Data File Author
 
Join Date: Feb 2009
Posts: 173

Old June 28th, 2015, 08:01 AM
Quote:
Originally Posted by AndrewD2 View Post
I refer to compset because that's how editor tabs are made. Maxlimit is a field on the editor tab that prevents any any more from being added where a validating script is just a component level pre-req.
Maxlimit is a field on the Thing element, not compset. So if you need to work with that specific field, the Thing is where you need to operate. Other than that, you could try working with a contrainerreq script if you need to stay at the component level.

There's really not much happening at the compset level anyway.

Authoring Kit Rule Sets (now with functioning links!):

Qin: The Warring States

Doctor Who: Adventures in Time and Space

MEGS/BoH/DC Heroes (work in progress)
Kairos is offline   #4 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old June 28th, 2015, 08:16 AM
I think you're missing what I'm saying, but I've got a better idea on how to handle it anyways.
AndrewD2 is offline   #5 Reply With Quote
Kairos
Senior Member
Volunteer Data File Author
 
Join Date: Feb 2009
Posts: 173

Old June 28th, 2015, 08:29 AM
Quote:
Originally Posted by AndrewD2 View Post
I think you're missing what I'm saying, but I've got a better idea on how to handle it anyways.
Why not post your solution so others can benefit in the future?

Authoring Kit Rule Sets (now with functioning links!):

Qin: The Warring States

Doctor Who: Adventures in Time and Space

MEGS/BoH/DC Heroes (work in progress)
Kairos is offline   #6 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old June 28th, 2015, 08:30 AM
I'm just going to put a counter on that allows you to advance an already possessed talent or focus.
AndrewD2 is offline   #7 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 01:12 AM.


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