# Choose Player Help

**URL:** https://forum.kirupa.com/t/choose-player-help/41747
**Category:** programming
**Created:** [February 1, 2004, 4:42pm UTC](https://forum.kirupa.com/t/choose-player-help/41747 "2004-02-01T16:42:34Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![cowkiller7](https://avatars.discourse-cdn.com/v4/letter/c/ad7895/32.png) [@cowkiller7](https://forum.kirupa.com/u/cowkiller7)
#### Post date: [February 1, 2004, 4:42pm UTC](https://forum.kirupa.com/t/choose-player-help/41747/1 "2004-02-01T16:42:34Z")

</div>

I have a game where at the beginning you can choose between 3 players. All that the choice will do is alter the appearance and sound files of the game.

For example : A shop owener asks if you want to practice. If you click yes, it will play the sound “yes” from the player you chose at the very beginning of the game.

Another example is that the game has some cut scenes with your player walking.

How can I make it play the one of your player?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 5, 2004, 4:08am UTC](https://forum.kirupa.com/t/choose-player-help/41747/2 "2004-02-05T04:08:41Z")

</div>

use a variable for each character

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 9, 2004, 11:59pm UTC](https://forum.kirupa.com/t/choose-player-help/41747/3 "2004-02-09T23:59:28Z")

</div>

SO how do I use a variable in the code ? I say like if var\_player1 then … ?
