Ok so i have a Dialog with a Label that counts up each second. But with the "Dialog - Move (Last created dialog item) to (0, 0) relative to Center of dialog for (All players)" in any position i move it, it just makes the text disappear completely. This is the setup in triggers:
Variables -
Dialog Timer (Folder)
- Seconds (Trigger)
Events
Timer - Every 1.0 seconds of Real Time
Local Variables
Conditions
Actions
Dialog - Set Dialog Label text to (Text(Seconds seconds) using Standard (hh:mm:ss) format) for (All players)
Variable - Modify Seconds: + 1
Dialog Label = No Dialog Item <Dialog Item>
Seconds = 0 <Integer>
Timer Dialog Frame = No Dialog <Dialog>
Map Initialization -
Dialog - Create a Modal dialog of size (250, 250) at (0, -250) relative to Right of screen
Variable - Set Timer Dialog Frame = (Last created dialog)
Dialog - Show Timer Dialog Frame for (All players)
Dialog - Set title of Timer Dialog Frame to "Time:"
Dialog - Create a Label for dialog Timer Dialog Frame
Variable - Set Dialog Label = (Last created dialog item)
Dialog - Move (Last created dialog item) to (0, 0) relative to Center of dialog for (All players)
I've also tried defining each variable so there are no "Last created Dialog Item" or "Last Created Dialog" Below are some screen shots of before the move and after the move, Any help with moving the label to the center of the dialog would be much appreciated.
Before:
After:
The top parts clearly the mini map which i have set up in a custom ui file, but i figured i would show it so there was no wondering what that weird looking cut off part was. its not another dialog.
I just tried this out, and the only odd thing I found was where you created the label. I'm not sure if you cut off the extra text just for this post or what, but on the test map I set up, it looks like this:
Since it already has you set where to anchor it, is there a reason why you're trying to move it? I also tested out the move function and it seems to work with this setup, just type "-move" in the test map to see. I hope this helps.
Ok so i have a Dialog with a Label that counts up each second. But with the "Dialog - Move (Last created dialog item) to (0, 0) relative to Center of dialog for (All players)" in any position i move it, it just makes the text disappear completely. This is the setup in triggers:
Variables -
Dialog Timer (Folder)
- Seconds (Trigger)
Events
Local Variables
Conditions
Actions
Dialog Label = No Dialog Item <Dialog Item>
Seconds = 0 <Integer>
Timer Dialog Frame = No Dialog <Dialog>
Map Initialization -
I've also tried defining each variable so there are no "Last created Dialog Item" or "Last Created Dialog" Below are some screen shots of before the move and after the move, Any help with moving the label to the center of the dialog would be much appreciated.
Before:
After:
The top parts clearly the mini map which i have set up in a custom ui file, but i figured i would show it so there was no wondering what that weird looking cut off part was. its not another dialog.
@godofrndmobjcts: Go
Hi godofrndmobjcts,
I just tried this out, and the only odd thing I found was where you created the label. I'm not sure if you cut off the extra text just for this post or what, but on the test map I set up, it looks like this:
Since it already has you set where to anchor it, is there a reason why you're trying to move it? I also tested out the move function and it seems to work with this setup, just type "-move" in the test map to see. I hope this helps.