Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Authoring Kit

Notices

Reply
 
Thread Tools Display Modes
Duggan
Senior Member
Volunteer Data File Contributor
 
Join Date: Nov 2009
Posts: 1,226

Old December 13th, 2018, 04:20 PM
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.
Duggan is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 12,424

Old December 13th, 2018, 04:48 PM
A roll button is the way I would implement this.
Mathias is offline   #2 Reply With Quote
Duggan
Senior Member
Volunteer Data File Contributor
 
Join Date: Nov 2009
Posts: 1,226

Old December 22nd, 2018, 07: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.
Duggan is offline   #3 Reply With Quote
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,019

Old December 23rd, 2018, 01: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.

Working on -
TCArknight is offline   #4 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 12,424

Old December 23rd, 2018, 01: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.
Mathias is offline   #5 Reply With Quote
Farling
Senior Member
 
Join Date: Mar 2013
Location: Greater London, UK
Posts: 1,818

Old December 23rd, 2018, 02:43 PM
Quote:
Originally Posted by Duggan View Post
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?

Farling

Author of the Realm Works Import (http://forums.wolflair.com/showthread.php?t=58156) and Output tools (http://forums.wolflair.com/showthread.php?t=59981)
Farling is offline   #6 Reply With Quote
Reply

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 07:38 AM.


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