-
December 20th, 2021, 18:45 #611
Ruleset Wizard
The Ruleset Development Environment
www.rulesetwizard.com
Ruleset Wizard Tutorials
Damned's Ruleset Wizard Tutorials
-
December 20th, 2021, 20:31 #612
You can either make copies of the subwindows or select all the controls you want to copy and ctrl+c and ctrl+v
-
December 20th, 2021, 21:13 #613
- Join Date
- Nov 2017
- Location
- North Carolina, USA
- Posts
- 266
Thanks! Both options worked.
I have created a "Skills" sidebar. The "Skill Cards" will only have skill description information on them, as the required data is already on the CS. What I would like to do is include a button or link next to each skill that will link to the associated skill card. For example, the player would click on "Acrobatics" and the Acrobatics skill card would pop up from the Skills sidebar. How would I do that? Do I need to have a "drop box" for each skill that I can drag and drop the associated skill card onto or is there a way to script the link field to a specific "name" in the Skills sidebar? See the image for a better look at what I want to do.
skillslist.png
-
December 20th, 2021, 21:22 #614
Yes - you create (copy) the Link Field
Allow Drop: True
Description field: name
Self on empty: True
Window class name: (this will be the name of the library class, not the character sheet class)
-
December 20th, 2021, 22:40 #615
Where are rSource, rTarget, and rRoll defined?
@damned, in your videos and code for DBRHarnmaster, the Skills function header in your managerRolls script looks like:
Code:function Skill(rSource, rTarget, rRoll)
Where are Skill's (and Attack's, for that matter) function arguments (rSource, rTarget, and rRoll) defined, and the actual call to the function made? I've looked everywhere (videos and code)!
Thanks,
- s.west
-
December 20th, 2021, 22:49 #616
When you create a function you can define your own parameters - see the script in the last video:
https://www.youtube.com/watch?v=mxAfyK4idBc
When using the RulsetWizards dice roller it always sends (rSource, rTarget, rRoll) so our functions that follow on from a RulesetWizard generated roll should always accept those three data sets in that order. These will cover almost every situation
rSource - thats the actor doing the roll
rTarget - any targets selected and whether they are handled as a group or each
rRoll - the actual dice expression and the results
If you need more parameters, tack them on to one of those (I generally use rRoll)
-
December 20th, 2021, 22:57 #617
-
December 20th, 2021, 22:59 #618
-
December 20th, 2021, 23:13 #619
Very helpful. I will confess that I had not spent much time navigating through the RW updates. I hadn't thought of them as a source of documentation.
Alrighty then!
edit:
Although... the lines:
It receives three parameters:
rSource will contain data regarding to the source character of the roll.
rTarget will contain data regarding to the target (or targets), if any, of the roll.
rRoll will contain data regarding to the dice rolled and their results.
- s.westLast edited by swest; December 20th, 2021 at 23:16.
-
December 20th, 2021, 23:33 #620
- Join Date
- May 2016
- Posts
- 521
Debug.chat(rSource,rTarget,rRoll) is your friend here.
Jason
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks