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)
-   -   Randomized Stats (http://forums.wolflair.com/showthread.php?t=61813)

Duggan December 13th, 2018 03:20 PM

Randomized Stats
 
Is there a way to get a random value at character creation that is only generated at creation? Yes, I know that rolling for stats at the beginning can be silly because players will just keep rerolling until they get what they want, but it's also part of the experience in some systems.

I suppose that I could just use a single Roll button, and require the first roll for a valid character.

Mathias December 13th, 2018 03:48 PM

A roll button is the way I would implement this.

Duggan December 22nd, 2018 06:57 PM

So, I successfully have implemented a roll button based on TCArkKnight's work, but I have just one more thing I need to do, having it get called at the outset so that the player has stats even if the player never mashes the button. I tried putting the call in the Creation script, but it doesn't work, presumably since the Attributes haven't been bootstrapped at that point.

TCArknight December 23rd, 2018 12:11 PM

I’m not sure if you can trigger a roll dynamically unfortunately. :(

I would probably go with setting the default values to the lowest possible value, and also set up a validation rule that has to have at least one roll made. Seems like that would be the simplest. :)

Mathias December 23rd, 2018 12:46 PM

I wouldn't enforce the roll, personally. Some users will make those rolls using their physical dice, and enter the results, so I wouldn't force the step of rolling on them.

Farling December 23rd, 2018 01:43 PM

Quote:

Originally Posted by Duggan (Post 273947)
Is there a way to get a random value at character creation that is only generated at creation? Yes, I know that rolling for stats at the beginning can be silly because players will just keep rerolling until they get what they want, but it's also part of the experience in some systems.

I suppose that I could just use a single Roll button, and require the first roll for a valid character.

At some later point in the timeline, could you check for a "0" user value, and then replace it with a random number? Then it would only be triggered once?


All times are GMT -8. The time now is 05:31 AM.

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