- integer behavior.GetShakeAccuracy()
- Get the shake accuracy.
- V1 Function Name
- Unimplemented V2 function
- More Information
behavior.GetShakeAccuracy is a function stub. It returns the numeric value "3".
Adjusting wiggle and shake accuracy in Foldit has been deprecated, and replaced by adjustable wiggle power.
Stub functions in the Foldit Lua interface support any recipes which query or set wiggle or shake accuracy. These stub functions have no effect on the game.
The following Lua code demonstrates the wiggle and shake accuracy stub functions:
print ( "wiggle accuracy = " .. behavior.GetWiggleAccuracy() ) print ( "setting wiggle accuracy to 4" ) behavior.SetWiggleAccuracy ( 4 ) print ( "shake accuracy = " .. behavior.GetShakeAccuracy() ) print ( "setting shake accuracy to 4" ) behavior.SetShakeAccuracy ( 4 )
This code produces the following scriptlog output:
wiggle accuracy = 3 setting wiggle accuracy to 4 Accuracies Not Implemented. shake accuracy = 2 setting shake accuracy to 4 Accuracies Not Implemented.