You could create a function that gets the scan code of the last key pressed, and then run a switch case with it. For different cases, just open different doors. You can use skills to identify which door the player wants to open like "rvL_eXile" said.


Eats commas for breakfast.

Play Barony: Cursed Edition!