Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- info.effect_container:runFX(
- fx.timescale(
- 1.5,
- fx.set(icon_container:scaleX(), 0),
- fx.set(icon_container:scaleY(), 0)
- )
- ..
- fx.lua(function()
- Server:call("loot.collect", {id = reward.loot_id})
- end)
- ..
- fx.timescale(
- 2.0,
- fx.set(icon_container:scaleX(), fx.spline(0.6, {0.1, 1.5}, {0.3, 1.15}, 1)),
- fx.set(icon_container:scaleY(), fx.spline(0.6, {0.1, 1.5}, {0.3, 1.15}, 1))
- )
- ..
- (
- fx.wait(0.3)
- ..
- fx.timescale(
- 0.2,
- fx.set(icon_container:alpha(), fx.spline(1, 0)),
- fx.set(icon_container:y(), fx.spline(0, -100))
- )
- )
- ..
- fx.lua(component:callback(function()
- icon_container:dispose()
- end))
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement