So...can this be done?
can the no. of objects be greater than the number of rooms?
[Or] can the number of rooms be greater than the number of objects?
can i specify some rooms having 2 objects and others just 1?
Do all the objects have to be placed?
Can i then get Character objects (suspects) to move between rooms but objects like the gun to stay still?
for each { object | room | exit } in { game | <room name> } script
Executes the specified script for each object/room/exit, either in the whole game or in the specified room. Each time the loop script is executed, the current object/room/exit is returned in the #quest.thing# string variable.
for each object in <storageroom1> {
if property <#quest.thing#;scen1> then {
set numeric <move;$rand(1;7)$>
if <%move%;6> then move <#quest.thing#,library>
if <%move%;5> then move <#quest.thing#,kitchen>
[and so on - note that allowing the random number function to generate a number not in use to move an object means the object isn't moved... ]
}
}