Game Development Community

Issue with activatePackage when pushing a GUI?

by Kevin Mitchell · in Torque 3D Professional · 12/06/2011 (3:29 am) · 1 replies

I have had a package system working for a while now for switching the functionality of my buttons for my controller and now in 1.2 its not working anymore.

What I do is when hitting Y trigger I add a new Gui to the screen then switch the controller mappings to the menu mappings. But what happens is that once the menu is there the mapping falls off. I've even changed it to where the release of the button is traced inside the other mapping and it traces... But then the new mapping stops working.

I commented out:

//Canvas.setContent(PauseMenu);

Doing this cause my remapping to continue to work but with it in the mapping stops/

Is there a trigger somewhere in the engine to auto pop your mapping when activating GUIs?

Thanks
Kevin Mitchell.

#1
12/07/2011 (5:23 am)
playGui.cs popped the map ... never mind. Thanks DS.