Code: Select all
[string "scripts/tiglilscript.lua"]:729: in function <[string "scripts/tiglilscript.lua"]:720>
[f=0000479] [string "scripts/tiglilscript.lua"]:729: attempt to call global 'legs_down' (a nil value)
Code: Select all
local function legs_down()
Turn(tigLil,y_axis,math.rad(0),3)
Turn(tigLil,z_axis,math.rad(0),3)
Turn(tlHead,x_axis,math.rad(0),2)
Turn(tlHead,y_axis,math.rad(0),2)
Turn(tlHead,z_axis,math.rad(0),2)
Turn(tlhairup,x_axis,math.rad(-74),2)
Turn(tlhairup,y_axis,math.rad(0),2)
Turn(tlhairup,z_axis,math.rad(0),2)
Turn(tlhairdown,x_axis,math.rad(-19),3)
Turn(tllegUp,x_axis,math.rad(0),2)
Turn(tllegUp,y_axis,math.rad(0),2)
Turn(tllegUp,z_axis,math.rad(0),2)
Turn(tllegLow,x_axis,math.rad(0),2)
Turn(tllegLow,y_axis,math.rad(0),2)
Turn(tllegLow,z_axis,math.rad(0),2)
Turn(tllegUpR,x_axis,math.rad(0),2)
Turn(tllegUpR,y_axis,math.rad(0),2)
Turn(tllegUpR,z_axis,math.rad(0),2)
Turn(tllegLowR,x_axis,math.rad(0),2)
Turn(tllegLowR,y_axis,math.rad(0),2)
Turn(tllegLowR,z_axis,math.rad(0),2)
Sleep(85)
WaitForTurn(tlhairup,x_axis)
WaitForTurn(tlhairup,y_axis)
WaitForTurn(tlhairup,z_axis)
WaitForTurn(tlhairdown,x_axis)
WaitForTurn(tllegUp,x_axis)
WaitForTurn(tllegUp,y_axis)
WaitForTurn(tllegUp,z_axis)
WaitForTurn(tllegLow,x_axis)
WaitForTurn(tllegLow,y_axis)
WaitForTurn(tllegLow,z_axis)
WaitForTurn(tllegUpR,x_axis)
WaitForTurn(tllegUpR,y_axis)
WaitForTurn(tllegUpR,z_axis)
WaitForTurn(tllegLowR,x_axis)
WaitForTurn(tllegLowR,y_axis)
WaitForTurn(tllegLowR,z_axis)
end
This calls it... not evilz in it either..
Code: Select all
local function idle()
Signal(SIG_HAIRWIND)
Signal(SIG_WALK)
Signal(SIG_WHIR)
Signal(SIG_SWING)
Signal(SIG_IDLE)
SetSignalMask(SIG_IDLE)
while(true) do
legs_down()
Sleep(285)
Sleeper=Sleeper+1
Sleeper=Sleeper%5
tempsleep=math.random(512,4096)
if Sleeper==0 then
Sleep(tempsleep)
idle_stance2()
end
if Sleeper==1 then
Sleep(tempsleep)
idle_stance()
end
if Sleeper==2 then
Sleep(tempsleep)
idle_stance3()
end
if Sleeper==3 then
Sleep(tempsleep)
idle_stance4()
end
if Sleeper==4 then
Sleep(tempsleep)
idle_stance5()
end
end
end