#  ![](https://www.realm667.com/media/kunena/topic_icons/realm667/user/mugshot.png) DoomPlayer Doubt!! \[Random starting weapon?\]

##

- **kolobosney**
- ![kolobosney's Avatar](https://www.realm667.com/media/kunena/core/svg/person.svg) Topic Author
- Dark Imp
- ![Dark Imp](https://www.realm667.com/media/kunena/ranks/rank_41_darkimp.png)

 Less More- Posts: 8
-
-

   11 years 5 months ago [\#1462](#1462) by kolobosney  *[DoomPlayer Doubt!!](https://www.realm667.com/forum/the-workshop/273-doomplayer-doubt-random-starting-weapon#1462 "Please, someone ....I need to know if there's a way to make the Doom Player starts with a random weapon! Someone knows how to do it??")* was created by *kolobosney*

 Please, someone ....I need to know if there's a way to make the Doom Player starts with a random weapon! Someone knows how to do it??

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL3RoZS13b3Jrc2hvcC8yNzMtZG9vbXBsYXllci1kb3VidC1yYW5kb20tc3RhcnRpbmctd2VhcG9u&Itemid=2662) or [Create an account](https://www.realm667.com/component/users/registration?Itemid=2662) to join the conversation.

- **NourPrince**
- ![NourPrince's Avatar](https://www.realm667.com/media/kunena/avatars/resized/size144/users/avatar1675.jpg)
- Chaingunner
- ![Chaingunner](https://www.realm667.com/media/kunena/ranks/rank_6_chaingunner.png)

 Less More- Posts: 63
-
-

   11 years 5 months ago [\#1465](#1465) by NourPrince  Replied by *NourPrince* on topic *[DoomPlayer Doubt!!](https://www.realm667.com/forum/the-workshop/273-doomplayer-doubt-random-starting-weapon#1465 "Please, someone ....I need to know if there's a way to make the Doom Player starts with a random weapon! Someone knows how to do it??")*

 Well, I don't think its possible, as every single doom mod starts with its starting weapon, but random weapon? I know about the random item, random monsters, RANDOM Projectiles, but random weapons on start? and i dont think RandomSpawner decorate will help you in this situation ![:P](https://www.realm667.com/tongue.gif ":P")

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL3RoZS13b3Jrc2hvcC8yNzMtZG9vbXBsYXllci1kb3VidC1yYW5kb20tc3RhcnRpbmctd2VhcG9u&Itemid=2662) or [Create an account](https://www.realm667.com/component/users/registration?Itemid=2662) to join the conversation.

- **Blue Shadow**
- ![Blue Shadow's Avatar](https://www.realm667.com/media/kunena/core/svg/person.svg)
- Administrator
- ![Administrator](https://www.realm667.com/media/kunena/ranks/rank_20_barrel.png)

 Less More- Posts: 1131
-
-
-

   11 years 5 months ago - 11 years 5 months ago [\#1466](#1466) by Blue Shadow  Replied by *Blue Shadow* on topic *[DoomPlayer Doubt!!](https://www.realm667.com/forum/the-workshop/273-doomplayer-doubt-random-starting-weapon#1466 "Please, someone ....I need to know if there's a way to make the Doom Player starts with a random weapon! Someone knows how to do it??")*

 It can be done in a way; give the player a [ start item](http://zdoom.org/wiki/Player_properties#Player.StartItem) which is like the following:

Code:

ACTOR RandomWeaponGiver : CustomInventory { States { Pickup: TNT1 A 0 A_Jump(256, "Fist", "Chainsaw", "Pistol", "Shotgun", "Chaingun", "RocketLauncher") Fist: TNT1 A 0 A_GiveInventory("Fist") Stop Chainsaw: TNT1 A 0 A_GiveInventory("Chainsaw") Stop Pistol: TNT1 A 0 A_GiveInventory("Pistol") Stop Shotgun: TNT1 A 0 A_GiveInventory("Shotgun") Stop Chaingun: TNT1 A 0 A_GiveInventory("Chaingun") Stop RocketLauncher: TNT1 A 0 A_GiveInventory("RocketLauncher") Stop } }

You can add as many weapons to that as you need.

 Last edit: 11 years 5 months ago by Blue Shadow.

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL3RoZS13b3Jrc2hvcC8yNzMtZG9vbXBsYXllci1kb3VidC1yYW5kb20tc3RhcnRpbmctd2VhcG9u&Itemid=2662) or [Create an account](https://www.realm667.com/component/users/registration?Itemid=2662) to join the conversation.

- **kolobosney**
- ![kolobosney's Avatar](https://www.realm667.com/media/kunena/core/svg/person.svg) Topic Author
- Dark Imp
- ![Dark Imp](https://www.realm667.com/media/kunena/ranks/rank_41_darkimp.png)

 Less More- Posts: 8
-
-

   11 years 5 months ago [\#1470](#1470) by kolobosney  Replied by *kolobosney* on topic *[DoomPlayer Doubt!!](https://www.realm667.com/forum/the-workshop/273-doomplayer-doubt-random-starting-weapon#1470 "Please, someone ....I need to know if there's a way to make the Doom Player starts with a random weapon! Someone knows how to do it??")*

 :yell: It works, awesome! Just like what I want! You guys really are a great help hand!! Thank you very much!!

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL3RoZS13b3Jrc2hvcC8yNzMtZG9vbXBsYXllci1kb3VidC1yYW5kb20tc3RhcnRpbmctd2VhcG9u&Itemid=2662) or [Create an account](https://www.realm667.com/component/users/registration?Itemid=2662) to join the conversation.

[Powered by](https://www.realm667.com/forum/credits) [Kunena Forum](https://www.kunena.org)
