for i = 0,math.huge do
--blahblahblah
end
Loop that'll force an entity to live forever:
while true do
Live()
end
Heh, Aino is faster =-)
As for math.huge, the best use of it I can think of so far is to use it to initialize variable used to store min/max values:
CompareVar = math.huge -- (or '-math.huge' if used with math.max)
for x = y , z do
CompareVar = math.min(CompareVar, arr[x])
end
<added>As I progress with webs, a new idea makes me to scratch my skull fiercely.
What if I make a no-tree asteroid populated by Grays?
What if next I draw a huge seedling body on top of it (huge enough to close that roid completely)?
What if I force this whole construction to follow mouse clicks and, if another asteroid is selected, our Grays go out to attack it?
I think it is even possible to make it destroy smaller asteroids by shooting them (like it is done in RoidForge/RingDesigner)
The hardest part of it all would be not technical but challenge providing and storyline-related.
Of course this will be another map, don't want to do these webz forever.
So... How could this abomination be called then? Seednought? Seedcruiser? Roflcopter? Any ideas?
