I got this error, UISetHotkeyAllowed is not authorized in libNtve_gf_cinematicMode() after opening a map that I made back in 2015.
After alittle digging I found out that it has something to do with the cinematic mode? I tried removing the cinematic mode function, and the error did go away, but the player can now click on things during the cinematic, which is a problem.
How do I go into cinematic mode without this error?
You will need to post a demonstration map with the problem recreated so people can investigate.
If cinematic mode is anything like Warcraft III then it is a complex function consisting of many native calls. It is possible that 1 of those native calls is no longer allowed.
Yes, please post the map as ImperialGood suggested. Keep in mind that if this map is not going to be available on the Arcade, and will be exclusive to SC2Mapster, you can edit the Map Info and uncheck the box that says "Display Errors on Test Map"
This will hide any errors that may pop up during gameplay. Obviously, if you've got other noticeable errors, you'll want to keep that option box checked so you know where you might need to screw around a bit in the Editor.
This is the line that causes the error in the cinematic native.
Calling 'UISetHotkeyAllowed' is not authorized Near line 72 in gf_CinematicMode() in MapScript.galaxy
UISetHotkeyAllowed(lv_validPlayers, c_hotkeyCameraFollow, false);
The GUI action is Enable/Disable Hotkey
The hotkeys are for camera follow, camera center, and achievement menu.
It shouldn't have any negative impact on your map.
I got this error, UISetHotkeyAllowed is not authorized in libNtve_gf_cinematicMode() after opening a map that I made back in 2015.
After alittle digging I found out that it has something to do with the cinematic mode? I tried removing the cinematic mode function, and the error did go away, but the player can now click on things during the cinematic, which is a problem.
How do I go into cinematic mode without this error?
Thanks
You will need to post a demonstration map with the problem recreated so people can investigate.
If cinematic mode is anything like Warcraft III then it is a complex function consisting of many native calls. It is possible that 1 of those native calls is no longer allowed.
Yes, please post the map as ImperialGood suggested. Keep in mind that if this map is not going to be available on the Arcade, and will be exclusive to SC2Mapster, you can edit the Map Info and uncheck the box that says "Display Errors on Test Map"
This will hide any errors that may pop up during gameplay. Obviously, if you've got other noticeable errors, you'll want to keep that option box checked so you know where you might need to screw around a bit in the Editor.
KSNumedia's Assets: Custom Models for campaigns and mods!
Is it worth noting that this doesnt happen when the map is played through arcade and only through the editor?
The GUI action is Enable/Disable Hotkey
The hotkeys are for camera follow, camera center, and achievement menu.
It shouldn't have any negative impact on your map.