I am working on a project and can do most what I want to achieve but there are some basics I can't quite figure out.
First one is Grenades, How do you set a timer to an object so that once you spawn an object you start subtracting 1 every 5 ticks in a private variable, so that when it reaches zero I can tell it to destroy and do other stuff?
Second one is save states, so I'm making a largish game and I have multiple layouts for different levels, but say I have a house and each room is a layout, I want to go in one room and kill everything but when I leave and enter the room again I want them to remain dead.
Third one is similar, I exit one layout but when I re-enter the previous the player is at the beginning, I want the player to be where I exited the first layout originally.
Any guidance would be sah-weeet!