First EOS Tease help
- Citopia
- Curious Newbie

- Posts: 4
- Joined: Tue Mar 23, 2021 8:42 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Switch
First EOS Tease help
Hiya! Yesterday I decided I could make an EOS Tease and I've looked through most the tutorials and there are some things I couldn't find. Mostly it's just variable stuff and maybe some other stuff, but if anyone had time to help me that would be simply amazing!

Re: First EOS Tease help
I'm sure there are plenty of people here willing to help, but without knowing exactly what you need help with, it'll be tough to know what to tell ya.Citopia wrote: Sun Aug 08, 2021 12:48 am but if anyone had time to help me that would be simply amazing!![]()
![]()
That said, if you haven't already, start here:
viewtopic.php?f=2&t=22570
Re: First EOS Tease help
The link above and a lot of testing worked well for me.
I did learn a lot from creating my first tease vs the one i'm working on now. That said, i'm happy to help if you have something specific.
I did learn a lot from creating my first tease vs the one i'm working on now. That said, i'm happy to help if you have something specific.
- Citopia
- Curious Newbie

- Posts: 4
- Joined: Tue Mar 23, 2021 8:42 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Switch
Re: First EOS Tease help
Thank you both, I would have been on to see your replies last night but my power went out due to a storm so I couldn't work on it either. So I started it and I'm a little confused how you would make someone type their name in to it and the tease save it as a constant variable through the tease and even after you end a session and use a code to get into the next part of the tease. Thank anyone who helps me in advance, I really appreciate it!
Re: First EOS Tease help
Create a Prompt action. Set the Variable name for that prompt action to the variable you want to set, for example: playerNameCitopia wrote: Mon Aug 09, 2021 4:55 am I'm a little confused how you would make someone type their name in to it and the tease save it as a constant variable through the tease
You can now use that variable throughout the tease. (For example, add an eval to a Say action with the <> button and enter playerName as the expression. Now whatever you entered in the prompt will show there.)
For this you need to enable the "Storage" module. (Gear icon in Eos Editor -> Storage.) Once you've done that, you can save/load variables to/from "Tease Storage".Citopia wrote: Mon Aug 09, 2021 4:55 am and even after you end a session and use a code to get into the next part of the tease.
Loading stored values is often done in your Init Script. For example, to load a playerName variable, you would add something like this to your InitScript:
Code: Select all
var playerName = teaseStorage.getItem('pn')If 'pn' wasn't set before, the variable playerName will be set undefined. If you'd rather playerName be initialized to something else as a default value, you could do something like:
Code: Select all
var playerName = teaseStorage.getItem('pn') || 'Sam the bionic monkey'Code: Select all
teaseStorage.setItem('pn', playerName)

