Character follows in all rooms

Started by holodude, Sat 31/05/2003 18:47:39

Previous topic - Next topic

holodude

I want to have a character follow my player character through various rooms.  However, I've done lots of reading and the FollowCharacter and FollowCharacterEx commands seem to only work in the room the NPC was originally in.  Is there a way to make the Follow Character command work in all rooms until it is disabled?

Scummbuddy

I believe it does work anyways, just as long as your character isnt so fast that it gets a room ahead of the other guy.
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

holodude

#2
Well, I tried it, and it does not seem to work.  This might be an error with the new 2.55 version.  I'll try it on the old 2.54 version to see if that version makes it work in all rooms.

EDIT:  Well it worked in the old version, but I'll keep fiddling with the new version to get it to work.  Unfortunately I accidently saved the backup of the old version using the new editor, so now I can't even edit using the old version.  Oh well, guess I'm forced to use the new version now.  Unfortunately, the reason I thought it wasn't working is it takes like 5 seconds for the person to finally appear on the new screen.  I'll fiddle with the settings to see if I can't lessen that amount of time.

holodude

It takes almost exactly 3 seconds before the character appears in the next room.  The settings do not change the time it takes for the character to appear in the room.  Anybody have any ideas on how to shorten this time up?

Chris, do you know why it takes so long for this to occur?  Or is it just the way AGS works and can't be fixed?

Dorcan

You just have to modify the game.following_room_timer variable.

From the manual :
game.following_room_timer
How long to wait before following char emerges in new room, default 150. (higher is longer).


holodude

Wow.  Thanks.  That saves me so much coding.  I must have missed it in the manual.

SMF spam blocked by CleanTalk