Character selection screen, want a "new" actor to appear and never appear again when clicked on
justinodunn
Member, PRO Posts: 226
in Tech Support
Hi, I want to make a "new" actor appear when the user unlocks a new character (through getting a highscore). I want to make it appear next to the new character and once the user clicks to that actor and goes back to the menu, the new sign wouldn't appear anymore (like checking notifications on facebook). How can I do that? Thanks!
Comments
The simplest way would be to have variables for each actor that gets changed when the player unlocks a character and for when they then click on the new character.
For example:
Have a variable that checks if player is unlocked - let's call it 'character unlocked'
If character unlocked is true, Display new character.
When you click the new character have it change the variable 'new' to 1
Save this variable.
In your 'New' actor, have a rule that says
If character unlocked is true, and If variable 'new' = 0 then display actor.
If character unlocked is true, and if variable 'new' = 1 then destroy actor.
Hopefully that'll push you in the right direction. You can also store the values in tables, which may be even easier.
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io