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
Map editor question
If im right, level 1 islevel 2 isand level 3 isSince you have a level pool, antraully level two pools are below 1 and thus triggeres the win. Try usingand see how that goes
Code: Select all
wait(Pool(0,0) < 1)
win(0)
Code: Select all
wait(Pool(1,1) < 1)
win(0)
Code: Select all
wait(Pool(2,2) < 1)
win(0)
Code: Select all
wait(Pool(0,0) < 1)
win(0)