Making another person leave the room

Started by SillySue, Wed 03/03/2004 19:38:17

Previous topic - Next topic

SillySue

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?

Darth Mandarb

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

Ishmael

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.
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

SMF spam blocked by CleanTalk