Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,735

Old May 2nd, 2014, 04:27 PM
I want to make a roll for a wild surge. Once it's activated, it will roll 1-100 and show the result. I am not sure where to start. I was thinking an Activated Ability, but I am not sure how to start with the script. Any ideas?

Hum, I did a search and seems I already asked this, lol. Seems it could not be done back then, but has anything changed so it can?

Last edited by Frodie; May 2nd, 2014 at 04:38 PM.
Frodie is offline   #1 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,977

Old May 2nd, 2014, 04:37 PM
I don't believe you can do table rolls, just have to list the tables and use the dice roller. I could be wrong, but I've never seen it.
AndrewD2 is offline   #2 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,735

Old May 2nd, 2014, 04:46 PM
Yea, that's what I was thinking. Too bad, I was thinking about making a Wild Mage dataset. An adjustment button that had the Wild Surge results would have been cool.
Frodie is offline   #3 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,735

Old May 2nd, 2014, 05:50 PM
I think I got something that might work -

Post Levels 10000

~ If we're not enabled, get out now
doneif (field[abilActive].value = 0)

var x as number

x = random(2)

if (x = 0) then
field[livename].text = field[name].text &" Text 1"
done
endif

if (x = 1) then
field[livename].text = field[name].text &" Text 2"
done
endif
Frodie is offline   #4 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,735

Old May 2nd, 2014, 06:37 PM
Seems to work fine, BTW - is there a number limit 0-99? I do have a table that is 0 -999, lol
Frodie is offline   #5 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 12:28 AM.


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