Page 2 of 2
Re: Showing alert messages
Posted: Mon Apr 03, 2023 2:07 pm
by lostmushroom
It's one of yours I think. It's on the Visual Novel Menu Canvas. The UnlockAchievement(); function is used in the visual novel example - UnlockAchievement("Creep")
Re: Showing alert messages
Posted: Mon Apr 03, 2023 2:31 pm
by Tony Li
I forgot you were using the VN starter framework. In that case, add "{0}" wherever you'd like the achievement name to appear, and optionally add "{1}" for the achievement description. Example:
- Unlocked Text: Unlocked: {0}\n{1}
If the achievement name is "Ascension" and its Description is "You have risen to an important position." then the alert will be:
Code: Select all
Unlocked: Ascension
You have risen to an important position.
(The "\n" adds a newline.)
Re: Showing alert messages
Posted: Mon Apr 03, 2023 2:43 pm
by lostmushroom
Yesss it works now, thanks Tony!
Re: Showing alert messages
Posted: Mon Apr 03, 2023 3:02 pm
by Tony Li
Glad to help!