amokrun1 Posted July 10, 2023 Share Posted July 10, 2023 So I have this movable static destructible wall in place that needs to be destroyed to proceed through the dungeon. The thing is I want it to be possible to destroy it only with a specific explosive item that needs to be found. What would the script look like that I would need to attach to it to make that happen? I know it can be destroyed by simply making it destructible with a health value but that means it can be destroyed even with your bare fists, given enough time. Only one specific item should make it happen. A note: it isn't a door into another cell, it's just a barricade in one cell. Link to comment Share on other sites More sharing options...
InActionMan64 Posted July 23, 2023 Share Posted July 23, 2023 You could.... Put a Collision box around it and an activator around that.Have the activator deactivate the Collison Box when the player enters with the explosive in their inventory.Remove the explosive from the players inventory, set an explosion to destroy the wall, and have the player pushed back from the blast (optionally with minor damage). This is scriptable. Link to comment Share on other sites More sharing options...
Recommended Posts