Wiggle strength indicator does not reflect wiggle strength setting during scripts

Started by Bletchley Park

Bletchley Park Lv 1

Wiggle strength indicator does not reflect wiggle strength setting during scripts. That is the problem.
I find myself stopping scripts just to see if I have not forgotten to set the strength to a particular desired setting. I cannot see what the setting is while the script runs.

Please make it visible by, for excample, reversing the fore- and bacground color of the setting 'button'.

Deleted user

It is shown, but it's not very visible. A box, just barely lighter than the black background.

cassandraberry81897 Lv 1

i agree that the behave wiggle box should be more visable, its realy hard to stop a script to see if you put the wiggle factor on low or not.

Bruno Kestemont Lv 1

Can be done in scripts now:

It's implemented.

behavior.SetWigglePower(a/l/m/h)
behavior.HighPowerAllowed()
behavior.GetWigglePower()

Here is a small script that uses it:

– START Wiggle Power Setting stuff
function DisplayLongWigglePower ()
local PowerSetting = behavior.GetWigglePower()
local result = ""
if PowerSetting == "l" then result = "Low"
elseif PowerSetting == "m" then result = "Medium"
elseif PowerSetting == "h" then result = "High"
elseif PowerSetting == "a" then result = "Auto"
end
return result
end
OriginalWPowerSetting= DisplayLongWigglePower ()
print(OriginalWPowerSetting .. " Wiggle Power")

function CheckWP() – including Alarm Dialog
if OriginalWPowerSetting == "Low" or OriginalWPowerSetting == "Auto" then
local ask=dialog.CreateDialog("Wiggle Power is ".. OriginalWPowerSetting)
ask.l1=dialog.AddLabel("Are you sure ?")
ask.continue=dialog.AddButton("Continue",1)
ask.stop=dialog.AddButton("Cancel",0)
askresult=dialog.Show(ask)
if askresult < 1 then return false end
end
return true
end

– STOP Wiggle Power Setting stuff