2DWorlds Forums
Would This Script Work? - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: Scripting (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=13)
+--- Thread: Would This Script Work? (/showthread.php?tid=7946)



Would This Script Work? - Hippo - 08-11-2011

sleep(3)
game.World.Lava Ball:Fixed = false
sleep(3)
game.World.Lava Ball1:Fixed = false
sleep(3)
game.World.Lava Ball2:Fixed = false
sleep(3)
game.World.Lava Ball3:Fixed = false
sleep(3)
game.World.Lava Ball4:Fixed = false
sleep(3)
game.World.Lava Ball5:Fixed = false
sleep(3)
game.World.Lava Ball6:Fixed = false
sleep(3)
game.World.Lava Ball7:Fixed = false
end

The idea of it is to make the lava balls fall one by one. Also, does anyone have a regen script I could use?


RE: Would This Script Work? - Chaos - 08-11-2011

Why not make a loop?


RE: Would This Script Work? - Hippo - 08-11-2011

It doesn't work, anyone know why?
(08-11-2011, 01:24 PM)Chaos Wrote: Why not make a loop?

This way they fall from different places.


RE: Would This Script Work? - Jacob__mybb_import1 - 08-11-2011

(08-11-2011, 01:24 PM)CheeseSticks Wrote: It doesn't work, anyone know why?
(08-11-2011, 01:24 PM)Chaos Wrote: Why not make a loop?

This way they fall from different places.

Is that the whole script? If it is, you don't need the "end" on the last line.


RE: Would This Script Work? - Duck - 08-11-2011

I already fixed this script for him a few hours ago.

I don't know why he didn't delete the thread :/