Hi everybody! I'm a relative newb, using AGS to make an adventure game for my girlfriend as the final part of a trilogy (first was webisodes, second was a movie, third is a game). Sadly I've run into a problem, and have searched the site to no avail... I hope someone more experienced can help me!!!
Anyway, there are two parts in my game where the main character acquires extra "friends" and what I thought of doing was creating moving sprites for him, and each of the friends, then changing the sprite when they are added to the "party", so he is alone for the first bit, then character two joins, then character 3 joins.
I figure there must be a script you can add to change the setting so that another Character is named as the main one, but I can't find it!
Help please!! :)
Thanks,
NeuroticNugg
You can use multiple NPC characters that follow the main character (check Character.FollowCharacter() (http://www.adventuregamestudio.co.uk/manual/Character.FollowCharacter.htm) from the manual), or if you really want to (as you already said you have merged the friends' sprites with the main character), just change the View of the player when more friends are added to the party (check Character.ChangeView() (http://www.adventuregamestudio.co.uk/manual/Character.ChangeView.htm)).
there is also the ChangePlayerCharacter() function.
It's actually Character.SetAsPlayer() since AGS 2.7 was released. :P
But if you're just changing the view..why not use Character.ChangeView?
Thanks to all for your support, it's been a big help. I may be back with more!!!