1.How can I figure out the max map size that I could create a title screen for? I made my map display 11 by 11 icons and set my view on 5 but an icon at spot 11,11 on login was closer looking to me, it was not on the edge (the map was anchored).
2. How can I get a proc to continue forever? Here is what I have.
3.Am I using round correctly here? I want the divided answer in one part to be rounded.
mob/var/continuE = 3
mob/proc/Regeneration()
while(continuE)
if(src.chakra<src.maxchakra)
src.chakra+=src.chakraregen
src.stamina+=src.staminaregen/round(3)
if(src.chakra>src.maxchakra)
src.chakra = src.maxchakra
..()
if(src.stamina>src.maxstamina)
src.stamina = src.maxstamina
..()
if(src.chakra==src.maxchakra)
src.stamina+=src.staminaregen
if(src.stamina>src.maxstamina)
src.stamina = src.maxstamina
..()
2) ... that code is just friggin' god awful. I don't even know what you're trying to do. In any case, use while(1) (if Kaioken shows up spewing claims that for() is better than while(1), ignore the lunatic), and look into the sleep() proc. Programs don't like infinite loops that don't pause.