world |
Problem description:
worldGenerate() is not a defined proc because its with world but i don't know a way to get around it...
Code:
Problem description: worldGenerate() is not a defined proc because its with world but i don't know a way to get around it... | ||
#1 Jun 26 2012, 9:31 am
|
||
Don't place it under world.
| ||
#2 Jun 26 2012, 9:42 am
|
|
how can i do that while still being able to change the world vars
| |
#3 Jun 26 2012, 9:45 am
|
||
Just as you would anything.
I've never tried changing the maxx and maxy at runtime before, so I'm not even sure if you can. Worth a shot, though. | ||
Darkology123 wrote:
how can i do that while still being able to change the world vars
You can also leave the proc inside world and change how you call it, just change "worldGenerate()" to "world.worldGenerate()". | ||
#5 Jun 26 2012, 10:00 am
|
|
Thanks everyone, it works. To Albro, you are able to change it at runtime apparently :)
| |