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)
-   -   conditional preclude (http://forums.wolflair.com/showthread.php?t=61721)

Phrll November 29th, 2018 06:20 AM

conditional preclude
I'm working on adding the Traits and Gadgets from the Doctor Who sourcebooks to a Doctor Who dataset, using the editor to create .user files for each sourcebook and I've run into a problem that I haven't figured out how to handle yet. Some of the Traits are in more than one sourcebook; for example Arrogant is in the 4th and 7th Doctor books. I added them to both files (different IDs) and both show up in the Chooser but since they're the same, I'd like to set up something so only one shows up even if both sources are being used. I added a Preclude to the 7th Doctor .user file to exclude the 4th Doctor Trait and it works fine as long as both files are present but if the 4th Doctor file is missing, I get "Preclude - Reference to non-existent thing "ab4dArrog". Is there a way to do a conditional preclude that checks for a source?


Mathias November 29th, 2018 08:18 AM

You say "they're both the same", so it sounds to me like the best strategy for this would be to build just one generic version of Arrogant that has the sources for each of those doctors. Then, only a user who has turned on one or the other of those books will see that option, and you won't need a preclude.

Phrll November 30th, 2018 05:17 AM

Thanks for the quick reply! That's what I've been doing so far but was hoping there was a way to do a conditional preclude. So much to learn :).

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

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