local ani_volume = getObject("Animations[ani_volume]")
if getVolume(eMusicVolume) == 100 then
startAnimation(ani_volume)
end
local ani = getObject("ActiveAnimations[ani_volume]")
ani:setValue(VAnimationCurrentSpriteIndex, 10)
local ani = getObject("ActiveAnimations[ani_volume]")
ani:setValue(VAnimationFirstFrame, 10)
local ani_volume = getObject("Animations[ani_volume]")
startAnimation(ani_volume)
if getVolume(eMusicVolume) == 100 then
local ani = getObject("ActiveAnimations[ani_volume]")
ani:setValue(VAnimationFirstFrame, 21)
ani:setValue(VAnimationLastFrame, 21)
end
startAnimation("Animations[ani_volume]") -- can use full paths too
if getVolume(eMusicVolume) == 100 then
getObject("ActiveAnimations[ani_volume]"):setValue(VAnimationFirstFrame, 21)
end