SUGGESTION: Rooms as array

Started by Joe, Tue 25/08/2009 12:27:26

Previous topic - Next topic

Joe

Maybe this sounds horrible but there is a reason to do it, for example if I'm at room 5 and a I want to turn on the visibility of of an object which is at room 10, it would be really nice to be able to do this:

room[10].object[...].Visible=true;
or
room[10].hotspot[...].Enabled=true;

I think this is much better than having to set a variable which changes it's value and then when you load the other room you make the object disappear, or even using this at global script...
Maybe I'm wrong and there is another way to do this, if so please tell.
Copinstar © Oficial Site

Wonkyth

It doesn't sound like such a bad idea.
I've never liked the current segregated state of the rooms, and I think that it would make coding multi-room puzzles a little easier if things didn't have to be gone over multiple times...
"But with a ninja on your face, you live longer!"

Joe

Thanks for your support.

PS: Any moderator who can move this to Tech Forum, I didn`t realize I was in beginners tech questions
Copinstar © Oficial Site

TerranRich

This would probably mean a huge change to AGS and adding the ability to store individual information on up to 300 rooms. That could bog down the game at some point.
Status: Trying to come up with some ideas...

GarageGothic


SMF spam blocked by CleanTalk