Posted By: MarcsVision
How Do you Choose between players - 10/22/09 20:56
i created a car game. I'm looking for a script where the user can choose between 3 different cars and use the car they have choosen in the game.
Thanks
Posted By: Superku
Re: How Do you Choose between players - 10/23/09 00:43
You have to write that script yourself.
Open the manual and read about the following instructions:
var chosen_car;
If you want 3d car selection: event_click / enable_click.
2d car selection: panel.
Then mouse_mode or the like.
The car or panel event sets chosen_car accordingly.
In game you use if/else and ent_morph and check chosen_car.
If you have problems with your code then I will help you with pleasure.
There may be a car or player selection in a AUM magazine, too.
Posted By: Damocles_
Re: How Do you Choose between players - 10/23/09 13:09
Funny that he can write a whole car game, but cant
figure out how to make a selection-menu.
Its like saying: I`ve build a computer, how do plug in the
powercable.
Posted By: pegamode
Re: How Do you Choose between players - 10/23/09 13:16
Funny that he can write a whole car game, but cant
figure out how to make a selection-menu.
Its like saying: I`ve build a computer, how do plug in the
powercable.
That was my first thought, too.
Posted By: MarcsVision
Re: How Do you Choose between players - 10/23/09 15:24
I dont think you understand, i never programed a in any C-script before, let alone make a game. To tell you the truth, me being able to make a car move up, down, right and left is a game to me.
By the way i found out the script in one of the AUM's.
Thanks anyway.
Posted By: Damocles_
Re: How Do you Choose between players - 10/23/09 15:50
Getting the car to move somehow up and down is not a game.
Just say that you are a beginner, and need help
to understand how to start programming.
Then post you question in the beginners section, and not all over the place.
Posted By: MarcsVision
Re: How Do you Choose between players - 10/26/09 17:06
Thank you, and if you see a thread and have no plans on answering the question at hand, dont reply.