For the game I'm working on, there are several menus that need to be opened throughout the game. Think of ones like Inventory, Level Up menu, and a few others.
I have modified the input commands so that the back button on my 360 controller has "CauseEvent Inventory", which I can then use "Console Command" event and put in "Inventory" to open and close it. I also know that I can cause an event in unrealscript with the "exec" function.
For the Inventory, I am using the Scaleform basic inventory for now. The problem is that, since they will be accessed on several levels, I don't want to have to re-do the kismet work for each menu when it should be in Unrealscript.
The kismet code I have is as follows, and works fine: http://i82.photobucket.com/albums/j2.../Capture-1.png
The outro could be a little less abrupt, possibly the reverse of the opening, but i haven't figured the out yet =)
So, my question is, How can/should I open a menu from Unrealscript? I'm assuming I need to edit the PlayerController that I have, just not sure what code to put in it =)
I have modified the input commands so that the back button on my 360 controller has "CauseEvent Inventory", which I can then use "Console Command" event and put in "Inventory" to open and close it. I also know that I can cause an event in unrealscript with the "exec" function.
For the Inventory, I am using the Scaleform basic inventory for now. The problem is that, since they will be accessed on several levels, I don't want to have to re-do the kismet work for each menu when it should be in Unrealscript.
The kismet code I have is as follows, and works fine: http://i82.photobucket.com/albums/j2.../Capture-1.png
The outro could be a little less abrupt, possibly the reverse of the opening, but i haven't figured the out yet =)
So, my question is, How can/should I open a menu from Unrealscript? I'm assuming I need to edit the PlayerController that I have, just not sure what code to put in it =)
Comment