Object dictionary
thierry_st_malo
15 Jun 2016, 08:27Hi, all!
For my current game I need a randomly-created maze and I thought I might as well create a library with the maze creation process.
I don't think that Quest has arrays, so I decided to simulate one with a dictionary. And then bang! When I try to create it, I get a message : "Unknown dictionary type"!
How come? Thanks,
Thierry
P.S : I've noticed a few naming problems in Combat1FR, and I'm fixing that.
For my current game I need a randomly-created maze and I thought I might as well create a library with the maze creation process.
I don't think that Quest has arrays, so I decided to simulate one with a dictionary. And then bang! When I try to create it, I get a message : "Unknown dictionary type"!
How come? Thanks,
Thierry
P.S : I've noticed a few naming problems in Combat1FR, and I'm fixing that.

Pertex
15 Jun 2016, 11:05You are creating a local dictionary in function Setup which is only known in this function. You could do
game.Cells = NewObjectDictionary()
and
dictionary add (game.Cells, "Zut", zut)
game.Cells = NewObjectDictionary()
and
dictionary add (game.Cells, "Zut", zut)
thierry_st_malo
15 Jun 2016, 12:50How true, Pertex, I really must be getting old. But I still consider the message itself as misleading
.
