DICE PACKS BUNDLE
Page 85 of 109 First ... 3575838485868795 ... Last
  1. #841
    Quote Originally Posted by ShakyLuigi View Post
    Hi again,

    Is it possible to center the text in the "Formatted Text"?
    As far as I know, it is not possible:

    https://fantasygroundsunity.atlassia...tedtextcontrol
    Ruleset Wizard
    The Ruleset Development Environment
    www.rulesetwizard.com
    Ruleset Wizard Tutorials
    Damned's Ruleset Wizard Tutorials

  2. #842
    Okay, thanks for a quick answer.

  3. #843
    After some time version 0.8.0 is finally here. If you want to know more about this update, or if you missed any of the previous ones, you can take a look at my development blog:

    https://www.rulesetwizard.com/0-8-0-hydra-update/
    Ruleset Wizard
    The Ruleset Development Environment
    www.rulesetwizard.com
    Ruleset Wizard Tutorials
    Damned's Ruleset Wizard Tutorials

  4. #844

  5. #845
    I have a question about linking fields between the Combat Tracker and the character sheet.

    I have set up the ct_entry as per the video tutorials produced by Damned. The code for this is:

    function onInit()
    super.onInit();
    linkNewPCFields();
    end

    function linkNewPCFields()
    local nodeChar = link.getTargetDatabaseNode();
    -- retrieves the CT entry ID - these are CT specific functions
    if nodeChar then
    -- if nodeChar is valid/exists then run the next steps
    hpmax.setLink(nodeChar.createChild("hpmax", "number"), true);
    -- setup a link between the CT field and the charsheet field
    hpcurrent.setLink(nodeChar.createChild("hpcurrent" , "number"), true);
    -- setup a link between the CT field and the charsheet field
    fatiguecurrent.setLink(nodeChar.createChild("fatig uecurrent", "number"), true);
    -- setup a link between the CT field and the charsheet field
    vehiclearmourcurrent.setLink(nodeChar.createChild( "vehiclearmourcurrent", "number"), true);
    -- setup a link between the CT field and the charsheet field
    vehiclestructurecurrent.setLink(nodeChar.createChi ld("vehiclestructurecurrent", "number"), true);
    -- setup a link between the CT field and the charsheet field
    end
    end


    The properties for the fields are shown in the attached files. I have also attached the issue I get when damage is applied to the target (BT-ATOW CT Issue #1.jpg). The current hit points on the character sheet does not update when the same field in the combat tracker updates (circled in red).

    Can anyone help with this issue? Not sure if I have missed something in the coding.
    Attached Images Attached Images

  6. #846
    everything seems to be fine. Make sure that the hpcurrent node exists in the root of the charsheet database node, and not under another subnode. Something like this:

    <charsheet>
    <id-00001>
    <hpcurrent type="number">25</hpcurrent>
    Ruleset Wizard
    The Ruleset Development Environment
    www.rulesetwizard.com
    Ruleset Wizard Tutorials
    Damned's Ruleset Wizard Tutorials

  7. #847
    Quote Originally Posted by psicodelix View Post
    everything seems to be fine. Make sure that the hpcurrent node exists in the root of the charsheet database node, and not under another subnode. Something like this:

    <charsheet>
    <id-00001>
    <hpcurrent type="number">25</hpcurrent>
    Yep, the node exists.

    The strange thing is I can update the value in the character sheet and the value changes in the combat tracker.

    I have noticed a cannot manually change the value in the combat tracker when I was expecting I should be able to. I can't see any other properties in the numberfield that would prevent this.

  8. #848
    Quote Originally Posted by Brotherkelly View Post
    Yep, the node exists.

    The strange thing is I can update the value in the character sheet and the value changes in the combat tracker.

    I have noticed a cannot manually change the value in the combat tracker when I was expecting I should be able to. I can't see any other properties in the numberfield that would prevent this.
    Use false in the last parameter of setlink
    Ruleset Wizard
    The Ruleset Development Environment
    www.rulesetwizard.com
    Ruleset Wizard Tutorials
    Damned's Ruleset Wizard Tutorials

  9. #849
    Thanks psicodelix, that worked and it also cured the update issue on the character sheet.

  10. #850
    Quote Originally Posted by Brotherkelly View Post
    Thanks psicodelix, that worked and it also cured the update issue on the character sheet.
    Great!
    Ruleset Wizard
    The Ruleset Development Environment
    www.rulesetwizard.com
    Ruleset Wizard Tutorials
    Damned's Ruleset Wizard Tutorials

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
STAR TREK 2d20

Log in

Log in