So I have a property called frame which as an integer that cycles form 0 to 16 when you hold down a certain key. Now I want this number to be the suffix of a string so if
frame = own[‘frame’]
walk = (“walk_”(frame))
walk should return walk_3 or whatever the frame property was on. But I get ‘str’ object is not callable?
I’m a bit noobish when it comes to python and I think I miss the fundamentals but that to me, seemed like it should work. Can somebody tell me what I’m doing wrong?
Ah, thanks for the quick reply. Thats seems to have done something. Now I get >cant convert ‘int’ object to str implicity<. What does that mean? I tried making the int a float but returned the same just cant convert ‘flaot’ object.