Need help with select in dynamic plugin

hi.
i made dynamic plugin to select joints on skeleton.
due to havy lack of codding skills it selects joints only from first user.
help please.
would be aslo cool to add some select and getslice examples to sdk
right now i don’t know if i’m doing it correct

SelectJoint.rar (10.0 kB)

hi Anto ,there is a select node in the addons sdk which will help you if you really want to make in plug, i made a patch version right now, i have not tested with kinect but it should work well. hope it helps

SelectJoints (Kinect).rar (3.5 kB)

ok i managed to break my balls to make it work with two ppl
i need to replace the if inside.
i was trying to do

for (int u = 0; u < UserCount ; u++){
    for (int j = 0; j < JointCount ; j++){
    FOrdOutput[u+j](u+j) = (int)FInput[u+j](u+j);
    FXYZOutput[u+j](u+j) = FXYZInput[FOrdOutput[u+j](FOrdOutput[u+j)+20*u];
    {
    {

it was wrong, i’m quite suspecting that i can’t use u+j in such context because im in j loop inside u loop, but what should i do in that case, tried to google “c# for loop in for loop” but got only simple examples.
do i should do something like

[u,j](u,j)

in that case?

ok now i got the error “No overload for method ‘this’ takes 2 arguments”

SelectJoint.zip (119.0 kB)

thanks for help ppl

SelectJoint (3D Kinect Microsoft Static).rar (9.0 kB)

would be cool to add it to addonpack, i’m not at home can’t do myself