Dialog - Hooks up an existing Panel in the standard UI called "UIContainer/FullscreenUpperContainer/ObjectivePanel"
Dialog - Move (Last created dialog item) to (0, 0) relative to Bottom Left of dialog for Players
I am trying to move the OBJ panel to a different position on the screen. The above code WORKS exactly the way it should on a blank test map. HOWEVER, on my map, it does nothing. Why? What could be causing this? There is no UI files on my map. I don't get it.
You must have done something differently on the other map. Could you show us the code or screenshot the triggers? Are they identical to the working map? Are they in an identical trigger?
Note that you cannot hookup the same standard dialog item more than once. (That working map you uploaded will throw an error if you type "test1" more than once.) So the first time you hook it up, you should assign it to a global variable if you want to access it again later.
Note that you cannot hookup the same standard dialog item more than once. (That working map you uploaded will throw an error if you type "test1" more than once.) So the first time you hook it up, you should assign it to a global variable if you want to access it again later.
always destroy the hooked up dialog after you are done with it.
Yes. It's the exact two actions listed above. I literally copied and pasted it to my map. I am not using any other dialog hook up. The only action in the entire map is that one. I was thinking originally maybe it had to do with an element of the UI that I hid (like minimap, etc.), but i disabled them all and no dice.
The error I am getting is included in the screenshot 3.
I think it's because of at least one of the dependencies your map is using. I added all the campaign dependencies to your test map, which caused it to have the same error.
One of the dependencies must be doing something to the objective panel so that it can't be hooked up.
Edit:
Narrowed it down to the "Swarm (Campaign)" and the "Swarm Story (Campaign)" dependencies.
You can use "Create dialog item from template" to effectively do the same thing. You will have to use the UI editor to move the objective panel offscreen, then in triggers create a new one with that action and move it where you want it.
Dialog - Hooks up an existing Panel in the standard UI called "UIContainer/FullscreenUpperContainer/ObjectivePanel"
Dialog - Move (Last created dialog item) to (0, 0) relative to Bottom Left of dialog for Players
I am trying to move the OBJ panel to a different position on the screen. The above code WORKS exactly the way it should on a blank test map. HOWEVER, on my map, it does nothing. Why? What could be causing this? There is no UI files on my map. I don't get it.
@Zero0018: Go
You must have done something differently on the other map. Could you show us the code or screenshot the triggers? Are they identical to the working map? Are they in an identical trigger?
Note that you cannot hookup the same standard dialog item more than once. (That working map you uploaded will throw an error if you type "test1" more than once.) So the first time you hook it up, you should assign it to a global variable if you want to access it again later.
always destroy the hooked up dialog after you are done with it.
do you hook up another dialog or the same one?
@DeltaV: Go
Yes. It's the exact two actions listed above. I literally copied and pasted it to my map. I am not using any other dialog hook up. The only action in the entire map is that one. I was thinking originally maybe it had to do with an element of the UI that I hid (like minimap, etc.), but i disabled them all and no dice.
The error I am getting is included in the screenshot 3.
@Zero0018: Go
I think it's because of at least one of the dependencies your map is using. I added all the campaign dependencies to your test map, which caused it to have the same error.
One of the dependencies must be doing something to the objective panel so that it can't be hooked up.
Edit:
Narrowed it down to the "Swarm (Campaign)" and the "Swarm Story (Campaign)" dependencies.
@DeltaV: Go
Wow how retarded. Thanks for figuring that out. Was super confused. Guess I am SOL.
@Zero0018: Go
You can use "Create dialog item from template" to effectively do the same thing. You will have to use the UI editor to move the objective panel offscreen, then in triggers create a new one with that action and move it where you want it.