#1, by HelixAbyssSunday, 17. January 2016, 23:06 9 years ago
Hi all, so I finally have a question that I haven't been able to figure out an answer to. So, in my game the main character has these special abilities that can be used in specific places. There are six different stones and the player can choose one, they each give a different "category" of powers and the specific thing that they do is based on the scenario. There are "primary" and "secondary" powers, so there are two keys that can activate a power. In general, when the associated keys are pressed an animation plays and the primary power will attack nearby enemies. The animation part was easy enough to setup, and attacking enemies is a problem for another time. However, when the character is standing in certain areas where there is an object that can be affected, pressing one of the keys should do something specific to that object. So, for example, in one of the scenes there is a crate, and if the character has the light blue stone she can use her power to break the crate. I have action areas setup where the character has to stand to use these powers, so there's one for the crate, one for the lever, etc. But I have no idea how to get this working since the only place it appears keys can be given actions is in the general game tab.
Does anyone have any ideas of things I can try? And please let me know if my explanation wasn't clear enough!