`var cardID =["c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","c10","c11","c12","c13","c14"]
var c0 = ["res://joker0warundeadcards.png", randi()%30] #joker1
var cardarrayindex=0`
Okay here is my problem. I shuffle the array cardID.shuffle() just fine. Then I want to call the first item in the array cardID[0] which gives me the name of the 2nd array and then my thinking breaks down.
var a = cardID[cardarrayindex] ok this line works
print(str(a)[0]) this fails as does print(a.0) or print(a[0])
which I need to place in:
$Control/TextureRect.texture.load(str(a.[0]))
So I just want to shuffle the first array, load first entry. Use that entry to call up a 2nd array and load first entry as string for texture load.
Thanks JB