STAR TREK 2d20
  1. #1

    Quick question on ActorManager.resolveActor

    I was under the impression that passing in any node under the umbrella of "charsheet" would resolve to a character, but I must be wrong as it's returning nil for me. What exactly are the rules of ActorManager.resolveActor? I'm trying to step through the code, but I can't tell exactly where it's failing. I'm passing in a node with this path: charsheet.id-00001.stats.id-00001

  2. #2
    I believe they need to be the parent node of the record to work properly. Examples charsheet.id-00001, npc.id-00001, and ct.id-00001. With your example, you would need to do DB.getChild("charsheet.id-00001.stats.id-00001", "...") and get the parent to resolve correctly.
    Dominic Morta
    Ruleset Developer
    Smiteworks

    How to zip up your campaign if the Developers ask for it-How to zip up your campaign if the Developers ask for it

    How to provide an Unity Connection issue?-Connection Issues and What to Provide

    Unity Updater issue?-Updater Issues

    Classic and Unity Port Forwarding?-Fantasy Grounds Connections Explained

    Comcast or Cox ISP User?-Comcast XFinity and Cox Users

    Have a suggestion?-Feature Request

  3. #3
    I'll give that a try, thanks.

Thread Information

Users Browsing this Thread

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

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
  •  
DICE PACKS BUNDLE

Log in

Log in