EOS notification help

All about the past, current and future webteases and the art of webteasing in general.
---
Post Reply
User avatar
CockHeroChampion12
Explorer At Heart
Explorer At Heart
Posts: 103
Joined: Mon Feb 13, 2017 6:18 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

EOS notification help

Post by CockHeroChampion12 »

Can someone help me. I am wanting to use a notification to use as a break. then once the timer is up on that extra page i am wanting it to go back to the page the player was on. How do i go about doing this?

Also how do i remove them once it has been pressed?
Spoiler: show
ImageImage ImageImage Image
undeniable_denial
Explorer At Heart
Explorer At Heart
Posts: 109
Joined: Sat Aug 24, 2019 11:42 am
Gender: Male
Location: Germany

Re: EOS notification help

Post by undeniable_denial »

You need to store the ID of the page you are on when the button is clicked in a variable.

Before the Goto-action under the Notification-button insert an Eval-action with this code:

Code: Select all

previousPage = pages.getCurrentPageId();
To remove the notification insert a "Notification: Remove"-action at the beginning of your break page and use the same identifier as with the "Notification: Create"-action.

Then at the end of your break page flick the switch of the Goto-action where it says "<>".
That makes it so that it accepts a variable as a page ID. Simply put this there:

Code: Select all

previousPage
If you want to allow more than one break, recreate the notification just before the Goto on the break page.


I wrote this from the top of my head, so there might be a mistake. Gonna check in tomorrow.
Post Reply