Panda Posted January 7, 2023 The truth is that it worked for me to add weapons in the following way: Spoiler script 1 OPEN { GiveInventory("ShotgunX2", 1); } or script 1 OPEN { GiveActorInventory(0, "ShotgunX2",1); } I have the game configured in "PlayerDoom" so that it starts only with the fist. Since that is the objective of the first level. But at the start of the second level I want the player to spawn with weapon drawn, but he doesn't. At the start, even though the player already has the extra weapon, they still show the fist at the start of the level. Is there a way to achieve this? 0 Quote Share this post Link to post
Stabbey Posted January 8, 2023 You want the player to have a different inventory depending on the map they start? If I recall, player inventory is set using a new Player class which replaces the old one, but I don't know if you can change the Player class based on the map. 0 Quote Share this post Link to post
Graf Zahl Posted January 8, 2023 You have to use ENTER scripts, not OPEN, to run them in the player's context. OPEN runs in world scope, you cannot do inventory manipulation there. 1 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.