Can someone guide me to how to make a dialog daytimer/daycounter.
What I need is a dialog that. Changes Numbers after a certain period of time
Day 1
Day 2
Etc.
I'm kind of confused on what you want. If you want just a timer that counts down how much time is left until nighttime, you do not need dialogs. If you want something to keep statistics you could use either a leaderboard or a dialog. No matter what you actually want, check the tutorials link in my signature, it will have what you want and can show you how to make it.
Ah I see what you want now. What you will have to do is in your text for the day1 thing, You need to use combine text. You can access that by clicking on the functions tab in the popup menu that appears when you try to enter the text you want it to say. Then it will have two text things you can edit. Click on the second one to make the popup menu appear and do convert integer to text. Then what you will have to do is make an integer variable (and set the 0 that should have appeared after you did the convert integer to text thing to be the variable) for the day you are currently on, and then after each day, you will have to modify the variable to +1. I'm not sure if you will have to update the text every time or if it will just update itself, I haven't tried it too many times. However, this would be how you do it.
Edit: I'm not sure if this will benefit you or not, but I have noticed that there are a few actions available for daytime/nightime tasks. I have never used them before, but they might be worth taking a look at.
Hi,
Can someone guide me to how to make a dialog daytimer/daycounter. What I need is a dialog that. Changes Numbers after a certain period of time Day 1 Day 2 Etc.
Maybe something like
Event
Every 5 min of game time.
Condition
?
Action
Something dialog something?
Thanks guys!
@Bennyha1: Go
I'm kind of confused on what you want. If you want just a timer that counts down how much time is left until nighttime, you do not need dialogs. If you want something to keep statistics you could use either a leaderboard or a dialog. No matter what you actually want, check the tutorials link in my signature, it will have what you want and can show you how to make it.
New to the Editor? Need a tutorial? Click Here
Want data assets? Click Here
@fishy77: Go
ok, I will check that out, thanks.
I got a dialogbox with a dialog title text, thats says "Day 1" and I want that text to update efter a period of time, to "day 2" etc-
CanĀ“t get it to work =(
@Bennyha1: Go
Ah I see what you want now. What you will have to do is in your text for the day1 thing, You need to use combine text. You can access that by clicking on the functions tab in the popup menu that appears when you try to enter the text you want it to say. Then it will have two text things you can edit. Click on the second one to make the popup menu appear and do convert integer to text. Then what you will have to do is make an integer variable (and set the 0 that should have appeared after you did the convert integer to text thing to be the variable) for the day you are currently on, and then after each day, you will have to modify the variable to +1. I'm not sure if you will have to update the text every time or if it will just update itself, I haven't tried it too many times. However, this would be how you do it.
Edit: I'm not sure if this will benefit you or not, but I have noticed that there are a few actions available for daytime/nightime tasks. I have never used them before, but they might be worth taking a look at.
New to the Editor? Need a tutorial? Click Here
Want data assets? Click Here
@fishy77: Go
Hi, I have been trying without success =/, can you see whats wrong with my triggers?
TRIGGER 1
Event
Game- Map iniziliation
Condtion
Action
Dialog - Create a modal dialog of size etc.
dialog - show last created dialog.
Dialog - Set title of last created dialog to ("DAY" + (Text(Day). (Here I just convert intergen to text, and I used my intergen variable.)
___________________________
TRIGGER 2
Event
Timer - Elapsed time is 10 game time seconds.
Condition
Action
Variable - Modify variable day : + (Day+1).
.
So m first trigger works fine, it display with no problem<sub> but my second trigger wont uppdate it =/</sub>
works fine now. I had to uppdate the dialog after each counting =)