Another example of a meaningless annoying bug
#1
Line 3: [lua] local controller = body.VelocityController [/lua]
--Some stuff


Line 14: [lua] function CheckVitalSigns() [/lua]
--Some stuff


Lines 17-20: [lua] if controller == nil then
controller = create("VelocityController")
controller.Parent = body
end [/lua]
--More stuff, including end of CheckVitalSigns


Lines 30-32: [lua]while true do
sleep(0.1)
CheckVitalSigns() [/lua]
--Even more stuff


Lines 46-48: [lua] if not controller then CheckVitalSigns() end
if thedude.Position.x > body.Position.x then
controller.Velocity.x = 5.0 [/lua]

Output: Script:48: attempted index of non-table

>Sad
Reply


Messages In This Thread
Another example of a meaningless annoying bug - by Qwertygiy - 04-18-2011, 10:03 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)