celestian
July 22nd, 2017, 22:45
I am trying to get a character sheet from a CT entry. I can get the path:
local rActor = ActorManager.getActorFromCT(node);
Looks like this:
s'rActor' | { s'sType' = s'pc', s'sCreatureNode' = s'charsheet.id-00001', s'sCTNode' = s'combattracker.list.id-00001', s'sName' = s'bob' }
The path is rActor.sCreatureNode (after checking that .sType is "pc") but I can't figure out how to get the node from the path listed as ".sCreatureNode".
Anyone have a hint?
local rActor = ActorManager.getActorFromCT(node);
Looks like this:
s'rActor' | { s'sType' = s'pc', s'sCreatureNode' = s'charsheet.id-00001', s'sCTNode' = s'combattracker.list.id-00001', s'sName' = s'bob' }
The path is rActor.sCreatureNode (after checking that .sType is "pc") but I can't figure out how to get the node from the path listed as ".sCreatureNode".
Anyone have a hint?