Non-threaded
Forums
»
Advanced Editor Forum
»
Read Thread
Get help from the experts on variables, scripts, items, and other scary things.
SindriV
Reply
[Answered] Variables on Specific Pages Only
14 years ago
I am creating a game which includes the common variable Money, but it doesn't factor into the game until late and I don't want to have the icon "MONEY: 0" for the entire first half of the game. How do I make the money icon appear when it is used and stay appeared then, but not before?
JJJ-thebanisher
Reply
[Answered] Variables on Specific Pages Only
14 years ago
By Icon, you mean text right?
Paste the following into any page where you want it to appear:
Money: %%MONEY%%
Also, make sure the variable name is actually money. If it's cash then:
Money: %%CASH%%
The %%VARIABLE%% is replaced simply by the value held in the variable.
SindriV
Reply
[Answered] Variables on Specific Pages Only
14 years ago
Do you mean paste it into the place where I write the story on that page or paste it in the box that appears when I press the := icon? Because I tried the latter and it didn't work. I am a complete rookie to scripting by the way.
JJJ-thebanisher
Reply
[Answered] Variables on Specific Pages Only
14 years ago
The text box, the := is for scripting.
JJJ-thebanisher
Reply
[Answered] Variables on Specific Pages Only
14 years ago
Please read my comments on Reanimation 2 before you publish your next story. Also, I'm moving this to the advanced editor forum! :)
JJJ-thebanisher
Reply
[Answered] Variables on Specific Pages Only
14 years ago
You can have it automatically do it for every page after a certain point, but that requires knowledge of scripting and $PAGEID scripts in particular.
SindriV
Reply
[Answered] Variables on Specific Pages Only
14 years ago
Thank you. Much appreciated and I'll try to apply your criticism to my upcoming game.
JJJ-thebanisher
Reply
[Answered] Variables on Specific Pages Only
14 years ago
Wonderful! :)
At some point, I'll write an article that properly summarizes everything you can do with the AE. However, despite that one not being there, you should check out all of the others under help and info :)
Home
Storygames
Random
Search
Newly Created
Top Rated
Fantasy
Grimdark Fantasy
Sci-Fi
Modern
Horror
Love & Dating
Mystery / Thriller
Family Friendly
Historical
Puzzles / Games
Edutainment
Fan Fiction
Forums
Newbie Central
The Lounge
News & Updates
The Parlor Room
Creative Corner
Writing Workshop
Reading Corner
Adv. Editor Forum
Wishing Well
Bugs and Problems
My Stuff
Storygames
Pictures
Messages
Notifications
Duels
Saves
Comments
Points
Commendations
Notepad
Profile
View Profile
Help & Info
CYOA History
About Us
Privacy Policy
Terms Of Service
Logon
version 23.22 | ChooseYourStory © 2001 - 2025, Halogen Studios Entertainment |
contact us