Hey 678GUY-
You can use the Set Array Elem node to set the value of an array element at the array index specified on the node.
Cheers
Hey 678GUY-
You can use the Set Array Elem node to set the value of an array element at the array index specified on the node.
Cheers
i have an array of booleans i want to change a specific index in array is this possible? if yes plz tell me
thanks !
not exactly the same topic but here is a question i cant figure out. i have bullets in a clip. each have a different value for effecting damage weight accuracy and range. But when i pick up the clip i want it to have a total weight using the values inside the array. with out using one weight and multiplying by the index.
(0) damage=.3 weight =.04 recoil effect=.21 range= 1.6
(1) damage=.4 weight =.05 recoil effect=.35 range=2.1
(2) damage=.35 weight= .44 recoil effect=.28 range 1.8
the clip has its own weight variable that would be added to this as well. which we could just say is .85 units
so “total weight” =.04+.05+.44+.85 how do i do this using and array?
not exactly the same topic but here is a question i cant figure out. i have bullets in a clip. each have a different value for effecting damage weight accuracy and range. But when i pick up the clip i want it to have a total weight using the values inside the array. with out using one weight and multiplying by the index.
(0) damage=.3 weight =.04 recoil effect=.21 range= 1.6
(1) damage=.4 weight =.05 recoil effect=.35 range=2.1
(2) damage=.35 weight= .44 recoil effect=.28 range 1.8
the clip has its own weight variable that would be added to this as well. which we could just say is .85 units
so “total weight” =.04+.05+.44+.85 how do i do this using and array?