-
February 20th, 2024, 20:00 #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
-
February 20th, 2024, 20:26 #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
-
February 20th, 2024, 22:02 #3
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks