In one part of my game, my character walks into a room and gets a mouthful from his boss.
Now I want the boss to leave the room. How do I do that?
If the boss is a character you would/could:
MoveCharacterDirect;
// after the interaction of him yelling at you.
If he's just an object in the room you would/could:
SetObjectView;
AnimateObject;
MoveObject;
// after the interaction of him yelling at you.
I would assume you have him as a character, as that's the more practical way to do it.
~ d
And using the character[CHARID].room global variable (setting it to the room number you want the character to be in, -1 for not in any room) you can hide the character completely from the room.