Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

would it be possible to make a destroyable decoration that can only be destroyed with a specific weapon? .state for the weapon and .state for the decoration, and using variables maybe?

No. I never planned this.

I might add something to check current weapon in state machines but that is not a priority right now.

ok. the weapon is a bomb so my planned work around was to make the weapon's damage obscenely high and the health of the decoration obscenely high. you would still be able to destroy the decoration eventually with other weapons, but functionally  only the bomb would work.