Menu
News
All News
Dungeons & Dragons
Level Up: Advanced 5th Edition
Pathfinder
Starfinder
Warhammer
2d20 System
Year Zero Engine
Industry News
Reviews
Dragon Reflections
Columns
Weekly Digests
Weekly News Digest
Freebies, Sales & Bundles
RPG Print News
RPG Crowdfunding News
Game Content
ENterplanetary DimENsions
Mythological Figures
Opinion
Worlds of Design
Peregrine's Next
RPG Evolution
Other Columns
From the Freelancing Frontline
Monster ENcyclopedia
WotC/TSR Alumni Look Back
4 Hours w/RSD (Ryan Dancey)
The Road to 3E (Jonathan Tweet)
Greenwood's Realms (Ed Greenwood)
Drawmij's TSR (Jim Ward)
Community
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Resources
Wiki
Pages
Latest activity
Media
New media
New comments
Search media
Downloads
Latest reviews
Search resources
EN Publishing
Store
EN5ider
Adventures in ZEITGEIST
Awfully Cheerful Engine
What's OLD is NEW
Judge Dredd & The Worlds Of 2000AD
War of the Burning Sky
Level Up: Advanced 5E
Events & Releases
Upcoming Events
Private Events
Featured Events
Socials!
Twitch
YouTube
Facebook (EN Publishing)
Facebook (EN World)
Twitter
Instagram
TikTok
Podcast
Features
Top 5 RPGs Compiled Charts 2004-Present
Adventure Game Industry Market Research Summary (RPGs) V1.0
Ryan Dancey: Acquiring TSR
Q&A With Gary Gygax
D&D Rules FAQs
TSR, WotC, & Paizo: A Comparative History
D&D Pronunciation Guide
Million Dollar TTRPG Kickstarters
Tabletop RPG Podcast Hall of Fame
Eric Noah's Unofficial D&D 3rd Edition News
D&D in the Mainstream
D&D & RPG History
About Morrus
Log in
Register
What's new
Search
Search
Search titles only
By:
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Menu
Log in
Register
Install the app
Install
The
VOIDRUNNER'S CODEX
is coming! Explore new worlds, fight oppressive empires, fend off fearsome aliens, and wield deadly psionics with this comprehensive boxed set expansion for 5E and A5E!
Community
General Tabletop Discussion
*Geek Talk & Media
Anyone in here know Acroscript, or more accurately Adobe Acrobat's version of Javascript?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Madmaxneo" data-source="post: 6371206" data-attributes="member: 6716025"><p>Sweet! I really hope you can help me. First, all this will go into the "Custom Calculation Script" in the calculate tab under the properties menu when in edit mode.</p><p>Ok, first I am attempting to simulate a 2 column table where the first column is the rank for a skill and the second column is the bonus associated with that skill. </p><p>In this game the first 10 ranks in a skill give a +5 per rank, the next 10 ranks give a +2 per rank and any ranks over 20 give an additional +1 per rank.</p><p>The script needs to pull the number for column 1 from another field (I will use Ranks.1) in the PDF form and output the corresponding result for that rank number. Here's a varied example.</p><table style='width: 100%'><tr><td>1</td><td>5</td></tr><tr><td>11</td><td>52</td></tr><tr><td>22</td><td>72</td></tr><tr><td>30</td><td>80</td></tr></table><p><tbody> </tbody></p><p>I have been given an example to go by but I have no idea what I am looking at and it is incomplete. </p><p>It is: </p><p>As you can see it doesn't show how to get the variable rank number where the "100" is in the oT1 part.</p><p></p><p>The second would be an array to simulate a table (at least that is what I have been told it would be) that has multiple rows and columns. Where column one would be all the races and Row one would be the 8 stats. The cross reference would be the bonus to the stat from Row 1 and the Race from column 1. Here is an example (these numbers aren't the actual game numbers):</p><table style='width: 100%'><tr><td><br /> </td><td>Strength</td><td>Agility</td><td>Reasoning</td><td>Constitution</td></tr><tr><td>Elf</td><td>-1</td><td>+3</td><td>+2</td><td>0</td></tr><tr><td>Human</td><td>+1</td><td>+1</td><td>+2</td><td>+1</td></tr><tr><td>Dwarf</td><td>+3</td><td>0</td><td>0</td><td>+2</td></tr><tr><td>Gryx</td><td>+3</td><td>0</td><td>+1</td><td>+2</td></tr></table><p><tbody> </tbody></p><p>I have an example for this as well but lets focus on the first one for now. </p><p>Also, as you may well know Acroscript is based on Javascript but it has some different features and settings. </p><p>Bruce</p></blockquote><p></p>
[QUOTE="Madmaxneo, post: 6371206, member: 6716025"] Sweet! I really hope you can help me. First, all this will go into the "Custom Calculation Script" in the calculate tab under the properties menu when in edit mode. Ok, first I am attempting to simulate a 2 column table where the first column is the rank for a skill and the second column is the bonus associated with that skill. In this game the first 10 ranks in a skill give a +5 per rank, the next 10 ranks give a +2 per rank and any ranks over 20 give an additional +1 per rank. The script needs to pull the number for column 1 from another field (I will use Ranks.1) in the PDF form and output the corresponding result for that rank number. Here's a varied example. [TABLE="width: 300"]<tbody>[TR][TD]1[/TD][TD]5[/TD][/TR][TR][TD]11[/TD][TD]52[/TD][/TR][TR][TD]22[/TD][TD]72[/TD][/TR][TR][TD]30[/TD][TD]80[/TD][/TR]</tbody>[/TABLE]I have been given an example to go by but I have no idea what I am looking at and it is incomplete. It is: As you can see it doesn't show how to get the variable rank number where the "100" is in the oT1 part. The second would be an array to simulate a table (at least that is what I have been told it would be) that has multiple rows and columns. Where column one would be all the races and Row one would be the 8 stats. The cross reference would be the bonus to the stat from Row 1 and the Race from column 1. Here is an example (these numbers aren't the actual game numbers): [TABLE="width: 500"]<tbody>[TR][TD] [/TD][TD]Strength[/TD][TD]Agility[/TD][TD]Reasoning[/TD][TD]Constitution[/TD][/TR][TR][TD]Elf[/TD][TD]-1[/TD][TD]+3[/TD][TD]+2[/TD][TD]0[/TD][/TR][TR][TD]Human[/TD][TD]+1[/TD][TD]+1[/TD][TD]+2[/TD][TD]+1[/TD][/TR][TR][TD]Dwarf[/TD][TD]+3[/TD][TD]0[/TD][TD]0[/TD][TD]+2[/TD][/TR][TR][TD]Gryx[/TD][TD]+3[/TD][TD]0[/TD][TD]+1[/TD][TD]+2[/TD][/TR]</tbody>[/TABLE]I have an example for this as well but lets focus on the first one for now. Also, as you may well know Acroscript is based on Javascript but it has some different features and settings. Bruce [/QUOTE]
Insert quotes…
Verification
Post reply
Community
General Tabletop Discussion
*Geek Talk & Media
Anyone in here know Acroscript, or more accurately Adobe Acrobat's version of Javascript?
Top