-
November 11th, 2024, 02:57 #1
- Join Date
- Feb 2021
- Posts
- 413
Trying to get ct node from rSource
i in the manager_action_stat.lua script the function is
function modRoll(rSource, rTarget, rRoll)
I am trying to get the CT node I have tried
nodeCT = ActorManager.getCTNode(rSource);
nodeCT = ActorManager.getCTNode(rTarget);
none work. Any ideas? thanks.
-
November 11th, 2024, 03:09 #2
So the first thing you want to do is discover what is being received in the function.
Code:function modRoll(rSource, rTarget, rRoll) Debug.chat("rSource: ", rSource); Debug.chat("rTarget: ", rTarget); Debug.chat("rRoll: ", rRoll); end
-
November 11th, 2024, 17:41 #3
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 21,210
Also, is the source actor being passed in the original roll?
Code:function performRoll(draginfo, rActor, sSave) local rRoll = ActionSave.getRoll(rActor, sSave); ActionsManager.performAction(draginfo, rActor, rRoll); end
JPG
-
November 11th, 2024, 19:58 #4
- Join Date
- Feb 2021
- Posts
- 413
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks