Map editor question
Posted: Mon Jun 05, 2006 11:57 pm
I found Glob2 on my new Linux laptop, and love it. Great job so far!
I've taken it upon myself to create (at least the start of) a new campaign for the game. However, I've run into a problem with the map creator. According to my knowledge, the following should be working:
wait(Pool(1,1) < 1)
win(0)
Player 1 has a finished level 1 pool when the scenario begins, as well as a few workers and an inn.
However, when I run the map, player 0 wins instantly. What am I doing wrong here? I've done testing, and it works with any building except the pool. I've also tried different construction levels of pools, but no good. I'm an admitedly amature programmer, but it looks like a problem with the Pool variable in the scripting language. I just wanted to check here, to see if I'm doing something stupid before I post it as a bug. Thanks.
-Peter
I've taken it upon myself to create (at least the start of) a new campaign for the game. However, I've run into a problem with the map creator. According to my knowledge, the following should be working:
wait(Pool(1,1) < 1)
win(0)
Player 1 has a finished level 1 pool when the scenario begins, as well as a few workers and an inn.
However, when I run the map, player 0 wins instantly. What am I doing wrong here? I've done testing, and it works with any building except the pool. I've also tried different construction levels of pools, but no good. I'm an admitedly amature programmer, but it looks like a problem with the Pool variable in the scripting language. I just wanted to check here, to see if I'm doing something stupid before I post it as a bug. Thanks.
-Peter