Tykvesh Posted September 19, 2016 Share Posted September 19, 2016 I use this: local function Sparkle(inst, colour) if not inst.AnimState:IsCurrentAnimation(colour.."gem_sparkle") then inst.AnimState:PlayAnimation(colour.."gem_sparkle") inst.AnimState:PushAnimation(colour.."gem_idle", false) end inst:DoTaskInTime(4 + math.random(), Sparkle, colour) end inst:DoTaskInTime(0, Sparkle, colour) but my item texture disappears when on the ground :\ Link to comment https://forums.kleientertainment.com/forums/topic/70261-how-to-add-gem-sparkle-effect/ Share on other sites More sharing options...
Lumina Posted September 19, 2016 Share Posted September 19, 2016 I guess it's because your item don't have a matching animation. As far as i know, you can't just add the sparkle effect this way. Link to comment https://forums.kleientertainment.com/forums/topic/70261-how-to-add-gem-sparkle-effect/#findComment-815664 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now