Quantcast
Channel: Morphyre Forum - General Pro Questions and Problems
Viewing all articles
Browse latest Browse all 36

A couple of ?'s about hotkeys (4 replies)

$
0
0
1. Is there a way to get hotkeys to work nice with the UI? i.e. If I assign a key in 010_main.js to an overlay like this:

	else if (keyString == "o") {
		if (hasRenderScene("Negate") == false) {
		
		renderSceneInsert("Negate", true); 
		}

		else{
		      renderSceneRemove("Negate");
		}

	}

I can then set and cancel the overlay if I start Morphyre without the UI. If I use the UI It will initiate the overlay, but will cancel it immediately. I have also tried uncommenting the lines:

  else {
    while (hasRenderScene(overlay_id))
      renderSceneRemove(overlay_id);
  }

in utils.js which will allow me to use the hotkeys while using the UI, but any overlays I access with the UI and haven't assigned to hotkey cannot be canceled.

Is there any way to get these to play nice together?

2. How can I get an overlay to do a smooth fadeout using a hotkey? Can I assign a setTweak to a hotkey, then in the overlay.pur3c file use getTweek and set up something similar to the way r4 does it?

Viewing all articles
Browse latest Browse all 36

Trending Articles