Dynanmic Room Creation?

Verbojuice
22 Jul 2009, 23:00
Hi, I am trying to create a game with rooms created as the game evolves.

My plan was to:
1. Create a random name for the room and store it in a string variable,
2. Create the room using the name in the string variable,
3. Create exits using the name in the string variable,

I've tried a really simple attempt (see attached) but it fails with Error 9 - Subscript out of range in RoomExits.addFromTag.

I would welcome any advice or help!

Thanks, Verbojuce

Alex
23 Jul 2009, 19:04
That looks like it should work - but you seem to have uncovered a bug in Quest 4.1 :oops:

I'll fix this for Quest 4.1.1. In the meantime you can make it work by turning it into a 4.0 game instead of 4.1 - change the asl-version tag to "asl-version <400>" and it works.

Verbojuice
24 Jul 2009, 21:00
Akex,

Many thanks for the prompt response - I'll use 400 for now.

Best wishes,

Verbojuice