Icon representing a recipe

Recipe: ldupcz wiggle up

created by Rav3n_pl

Profile


Name
ldupcz wiggle up
ID
103350
Shared with
Public
Parent
None
Children
Created on
March 30, 2020 at 11:12 AM UTC
Updated on
March 30, 2020 at 11:12 AM UTC
Description

shake on ci=0 and wiggle raising up

Best for


Code


CI = 0.001 while CI <= 1 do behavior.SetClashImportance(0) print("CI=0, shake") structure.ShakeSidechainsAll(2) behavior.SetClashImportance(CI) print("CI="..CI..", wiggle") structure.WiggleAll(3) if CI <= 0.01 then CI = CI + 0.001 elseif CI <= 0.1 then CI = CI + 0.01 elseif CI <= 0.5 then CI = CI + 0.05 elseif CI <= 1 then CI = CI + 0.1 end if CI > 1 then break end end

Comments


Rav3n_pl Lv 1

Simple script on request :)

CI = 0.001

while CI <= 1 do
    behavior.SetClashImportance(0)
    print("CI=0, shake")
    structure.ShakeSidechainsAll(2)
    behavior.SetClashImportance(CI)
    print("CI="..CI..", wiggle")
    structure.WiggleAll(3)

    if CI <= 0.01 then
        CI = CI + 0.001
    elseif CI <= 0.1 then
        CI = CI + 0.01
    elseif CI <= 0.5 then
        CI = CI + 0.05
    elseif CI <= 1 then
        CI = CI + 0.1
    end

    if CI > 1 then break end
end