Trying to use the action "Display Custom Dialog" upon map initialization and I get an error message that amounts to the action not being authorized. Is this a disabled command, or is there possibly something about the nature of my map which might prohibit it? I need some sort of dialog to explain the basics of the game. Since the custom dialog pauses the game (and thus the timer and the units) it seemed like the best choice.
Specific error is: Trigger error in 'gt_StartingDialog_Func': Calling 'UIShowCustomDialog' is not authorized.
I'm making no progress, but I really need these dialog boxes so that all players know their objectives before it begins. To be clear, there's two players, each sees a different dialog (I only have the dialog for player 1 created). The dialog needs to pause the game and the game should only be unpaused when both players have hit yes on the dialog. I figured creating two dialogs using the custom dialog function would do the trick, but it's already having errors just trying to call one.
Hmm, I managed to figure it out using the "Create Dialog" function instead. However, using this lack the ability to pause the game, and I must figure out how to give my button the ability to destroy the dialog, as well as confirm that the player is ready so that when both hit start, the game is unpaused. Any directions to tutorials that might aid me in this process are welcome.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Trying to use the action "Display Custom Dialog" upon map initialization and I get an error message that amounts to the action not being authorized. Is this a disabled command, or is there possibly something about the nature of my map which might prohibit it? I need some sort of dialog to explain the basics of the game. Since the custom dialog pauses the game (and thus the timer and the units) it seemed like the best choice.
I've attached the map, not sure why it wouldn't let me do it until after I made the first post, but, there you have it.
Specific error is: Trigger error in 'gt_StartingDialog_Func': Calling 'UIShowCustomDialog' is not authorized.
I'm making no progress, but I really need these dialog boxes so that all players know their objectives before it begins. To be clear, there's two players, each sees a different dialog (I only have the dialog for player 1 created). The dialog needs to pause the game and the game should only be unpaused when both players have hit yes on the dialog. I figured creating two dialogs using the custom dialog function would do the trick, but it's already having errors just trying to call one.
Hmm, I managed to figure it out using the "Create Dialog" function instead. However, using this lack the ability to pause the game, and I must figure out how to give my button the ability to destroy the dialog, as well as confirm that the player is ready so that when both hit start, the game is unpaused. Any directions to tutorials that might aid me in this process are welcome.