i want to count the frames of an active animation, but i get "nil" as a value .
local framecount = getObject("ActiveAnimations["..game:getLink(VGameUsedItem):getName().."]"):getInt(VAnimationFrameCount)
Animation of the object has 2 Frames. I expected that i get this in return, but all i get is a "nil" when printing the int.
Meh... i know whats wrong. The AnimationFrameCount Value counts frames which are already passed. Not the total framecount. I'll do it otherwise then.... *_*