PDA

View Full Version : How to get to CTNode from the Character Sheet Node



alloowishus
July 21st, 2023, 21:42
Usually I go from the CTNode to the character sheet node, how do I do the reverse? Thanks!

Moon Wizard
July 21st, 2023, 22:05
You have to get all the CT nodes, look up the link subnode value for each CT node, and compare to the character node. When you find a match, then you're done.

By the way, this is handled by the following coding built-in:


local rActor = ActorManager.resolveActor(nodeChar);
local nodeCT = ActorManager.getCTNode(rActor);


Regards,
JPG

alloowishus
July 29th, 2023, 01:24
Thanks!