Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > Hero Lab Discussion


Thread Tools Display Modes
Prev Previous Post   Next Post Next
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,138

Old September 6th, 2008, 08:29 PM
I can't help with #1, but for #2, would it work to code a trait or an adjustment for each of the factions?

First, go to the User Tags field at the bottom, and add the PFFaction tag
Add an eval script (the timing doesn't really matter for this, so UserFirst, 100 will work) of:

perform hero.assign[User.PFFaction]

then, create a pre-requisite of:

if (tagcount[User.PFFaction] <= 1) then
@valid = 1

And give that a descriptive error message.

That means that if more than one PFFaction tag shows up on the hero, each of the items with that pre-requisite will show up as an error. (This is a simple script that won't grey out the other faction items - I know there's a way to check whether an item has been added yet or not. If you want to try some more advanced programming, you can add a second part to the pre-req script that requires 0 PFFaction tags if the current item isn't added).
Mathias is online now   #11 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 01:46 PM.

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