I was working on a cinematic in the editor lately, I've scripted the triggers on unit actions during the cinematic successfully... Then I enabled Cinematic Mode and Applied 3 Cameras. The moment the cinematic starts and ends this error pops out: "Calling uiSetHotkeyAllowed is not authorized". I've not called this function in any of my triggers during the Cinematic Mode so I don't know what could've caused this. Any ideas on a solution?
It seems to happen sometimes, this error occurs when you activate or desactivate the cinematic mode, so I guess that there is an issue somewhere in these actions (which are composed by several commands to animate the hide or show of the UI). But even after some researches I have not found anybody saying what particularly creates it, and I was lazy to test everything myself. I was thinking that it could be linked to my custom UI, but I am not sure that you got a custom UI too. Well I don't know.
However I may be wrong but in my case at least, I think that this error has no visible consequences.
It seems to happen sometimes, this error occurs when you activate or desactivate the cinematic mode, so I guess that there is an issue somewhere in these actions (which are composed by several commands to animate the hide or show of the UI). But even after some researches I have not found anybody saying what particularly creates it, and I was lazy to test everything myself. I was thinking that it could be linked to my custom UI, but I am not sure that you got a custom UI too. Well I don't know.
However I may be wrong but in my case at least, I think that this error has no visible consequences.
No it doesn't have visible consequences. I don't use a custom UI so I just copied the Cinematic Mode trigger from the native library and pasted it in my own custom triggers. I removed the call to that function and it works... Although I'm sure that's not how the folks at Blizzard intended to start cinematic mode... It's either this and wait for a fix, or disable displaying of errors/warnings while testing but that can leave you with little debugging options.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I was working on a cinematic in the editor lately, I've scripted the triggers on unit actions during the cinematic successfully... Then I enabled Cinematic Mode and Applied 3 Cameras. The moment the cinematic starts and ends this error pops out: "Calling uiSetHotkeyAllowed is not authorized". I've not called this function in any of my triggers during the Cinematic Mode so I don't know what could've caused this. Any ideas on a solution?
It seems to happen sometimes, this error occurs when you activate or desactivate the cinematic mode, so I guess that there is an issue somewhere in these actions (which are composed by several commands to animate the hide or show of the UI). But even after some researches I have not found anybody saying what particularly creates it, and I was lazy to test everything myself. I was thinking that it could be linked to my custom UI, but I am not sure that you got a custom UI too. Well I don't know.
However I may be wrong but in my case at least, I think that this error has no visible consequences.
No it doesn't have visible consequences. I don't use a custom UI so I just copied the Cinematic Mode trigger from the native library and pasted it in my own custom triggers. I removed the call to that function and it works... Although I'm sure that's not how the folks at Blizzard intended to start cinematic mode... It's either this and wait for a fix, or disable displaying of errors/warnings while testing but that can leave you with little debugging options.