Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Authoring Kit (http://forums.wolflair.com/forumdisplay.php?f=58)
-   -   Auto max limit (http://forums.wolflair.com/showthread.php?t=53274)

AndrewD2 June 27th, 2015 07:42 PM

Auto max limit
 
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.

Kairos June 27th, 2015 07:48 PM

Quote:

Originally Posted by AndrewD2 (Post 211690)
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.

AndrewD2 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.

Kairos June 28th, 2015 08:01 AM

Quote:

Originally Posted by AndrewD2 (Post 211692)
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.

AndrewD2 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.

Kairos June 28th, 2015 08:29 AM

Quote:

Originally Posted by AndrewD2 (Post 211708)
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?

AndrewD2 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.


All times are GMT -8. The time now is 07:46 PM.

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