Move Character at room change!?!

Started by DoorKnobHandle, Fri 17/10/2003 21:27:33

Previous topic - Next topic

DoorKnobHandle

Well, my problem:

I have a character (whooo!), which is walking through a door to another room in a cutscene.
The player is following that character.

So, I can set the player to new room coordinates by using:

NewRoomEx

But how can I use this func on not player characters?

Something like this, I thing:

player[3].x = 235;
player[3].y = 46;

how is that func exactly called? I couldnt find it in any helps/tutorials/forum postings...


thx!

Spyros

just after (or before) the NewRoomEx function
add this:
player[3].room= the number of the new room
player[3].x = 235;
player[3].y = 46;

where 3 is the non player char

DoorKnobHandle


Ishmael

eh...  ;D character[CHARID] dot....
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.

Spyros


SMF spam blocked by CleanTalk