Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Cpt Ezz on Fri 13/06/2008 12:56:02

Title: Characters
Post by: Cpt Ezz on Fri 13/06/2008 12:56:02
this may sound really stupid but i haven't found it anywhere

i'm making a racing game and i want to be able to chose different  cars/characters at the start of the race or game
HOW DO  DO IT ???
Title: Re: Characters
Post by: Creator on Fri 13/06/2008 13:25:44
Make each car a character and search the manual for: Character.SetAsPlayer

Or you can use different views and just change views for each car:


player.ChangeView(2);
Title: Re: Characters
Post by: Cpt Ezz on Fri 13/06/2008 14:15:38
thanks but i want to have a list of all the cars that you can chose from
i get you have to do a gui for each car but what is the script and were do you put it

Title: Re: Characters
Post by: Khris on Fri 13/06/2008 14:31:00
You can use hotspots, GUI buttons, even the actual characters to select a car.

"what is the script and were do you put it" -> rtfm.
Title: Re: Characters
Post by: Cpt Ezz on Fri 13/06/2008 14:34:49
what i mean is what is the script that will make it change the character

Title: Re: Characters
Post by: TwinMoon on Fri 13/06/2008 14:51:39
Quote from: Creator on Fri 13/06/2008 13:25:44
search the manual for: Character.SetAsPlayer
Title: Re: Characters
Post by: Cpt Ezz on Fri 13/06/2008 14:54:36
thanks all of yous you have been a great help