In this situation I normally just move the object in the +eachturn
function. To make the code simple I normally define a custom attribute
and give all the locations the objects should be in that attribute. A
common example is giving objects the pre-defined attribute OUTDOORS.
Give all the locations that are outdoors that attribute and then add
code such as:
{+eachturn
if here has OUTDOORS
move sun to here
move sky to here
else
move sun to limbo
move sky to limbo
endif
}
That was those objects will visible when outdoors, but not otherwise.
Also, remember to give those objects the OUT_OF_REACH attribute so the
player can't touch them!
Stuart
--
http://dangarstu.tumblr.com