Hey there,
I will try to be as specific as possible; it's 5 AM.
Event 1 script call : $notice: "Hey there!"
Event 2 script call : $notice: "Save-point."
Event 3 script call : $notice: "Do you think we could get this to work."
Event 4 script call : $notice: "I bet there's someone smart reading this."
There is only one notice in my "notice box" (part of my hud) at a time. One fades after a short period.
However, I would like to keep a history log of these notices.
I tried storing these strings in variables via checks in my "notice" Window, this just doesn't seem to work.
Par example;
Then in the expanded window:
For example new notice becomes notice 4 and notice 3 becomes two. It's a mess.
The following is what I would like to accomplish through variables and checks when the player expands this notice box, but I just can't get it to work right.
$notice4 "Hey there!"
$notice3 "Save-point."
$notice2 "Do you think we could get this to work."
--------------
$notice1 "I bet there's someone smart reading this."
--------------
Basically, notice4 was the first thing the player received.
When there is a new notice, new notice becomes notice 1, notice 1 becomes 2, 2 becomes 3 and 3 becomes 4. This is just simplified, I want to make a log of 20 text lines.
I was thinking about something like $notice[var], but a variable in a variable on the other hand doesn't really makes sense to me..
Anyone kind enough to guide me in the right direction?
Thanks in advance!
I will try to be as specific as possible; it's 5 AM.
Event 1 script call : $notice: "Hey there!"
Event 2 script call : $notice: "Save-point."
Event 3 script call : $notice: "Do you think we could get this to work."
Event 4 script call : $notice: "I bet there's someone smart reading this."
There is only one notice in my "notice box" (part of my hud) at a time. One fades after a short period.
However, I would like to keep a history log of these notices.
I tried storing these strings in variables via checks in my "notice" Window, this just doesn't seem to work.
Par example;
Code:
(Assuming event told script what $notice is right now and $index was increased by 1.)
If $notice != nil
self.contents.draw_text(x, y, width, height, $notice.to_s)
$game_variables[10 + $index] = $notice.to_s
endThen in the expanded window:
Code:
self.contents.draw_text(x, y, width, height, $game_variables[11].to_s)
self.contents.draw_text(x, y, width, height, $game_variables[12].to_s)
self.contents.draw_text(x, y, width, height, $game_variables[13].to_s)For example new notice becomes notice 4 and notice 3 becomes two. It's a mess.
The following is what I would like to accomplish through variables and checks when the player expands this notice box, but I just can't get it to work right.
$notice4 "Hey there!"
$notice3 "Save-point."
$notice2 "Do you think we could get this to work."
--------------
$notice1 "I bet there's someone smart reading this."
--------------
Basically, notice4 was the first thing the player received.
When there is a new notice, new notice becomes notice 1, notice 1 becomes 2, 2 becomes 3 and 3 becomes 4. This is just simplified, I want to make a log of 20 text lines.
I was thinking about something like $notice[var], but a variable in a variable on the other hand doesn't really makes sense to me..
Anyone kind enough to guide me in the right direction?
Thanks in advance!



![[Image: QrnbKlx.jpg]](https://i.imgur.com/QrnbKlx.jpg)
![[Image: sGz1ErF.png]](https://i.imgur.com/sGz1ErF.png)
![[Image: liM4ikn.png]](https://i.imgur.com/liM4ikn.png)
![[Image: fdzKgZA.png]](https://i.imgur.com/fdzKgZA.png)
![[Image: sj0H81z.png]](https://i.imgur.com/sj0H81z.png)
![[Image: QL7oRau.png]](https://i.imgur.com/QL7oRau.png)
![[Image: uSqjY09.png]](https://i.imgur.com/uSqjY09.png)
![[Image: GAA3qE9.png]](https://i.imgur.com/GAA3qE9.png)
![[Image: 2Hmnx1G.png]](https://i.imgur.com/2Hmnx1G.png)
![[Image: BwtNdKw.png%5B]](https://i.imgur.com/BwtNdKw.png%5B)
