Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

For the second option, you can use decorations with scripts.

The basic script for the key will be like this:

give key 1
entity delete me
map return

Oh! ...Okay, thanks a lot.

I forgot to ask... How do you assign a script to a decoration?

You must name this script identical to the decoration name.

I did that but it didn't do anything...

Did you name the script correctly? Have you tried using the decoration with the E button?

The E button did the trick, thanks a whole lot. I'm gonna change every other key to work the same way to keep things consistent from the player's perspective, though. Don't want them to get confused by a sudden change of rules.