Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

apple quest

hi!
Um, I was wondering....
I'm trying to make a simple quest where you have to collect some apples for your mother. Exept, I'm not quite sure how to make the quest be like, so if you pick up an apple...
"You found an apple!"
"You need 4 more!"
and then that apple dissapear.
and then the next apple you went to would go,
"You found an apple"
"you need 3 more"
and then the apple would dissapear.
And so on, until there were no more apples to pick up, each one going down a number and dissapearing. Exept, you could start at any apple. You could start a completely different apple, and it would then say "you need 4 more apples" or something.
Does anyone know an event that could work for that?

Thankyou.  :mystery:
 
To add on to that, you can use \V[x ] in the "Show Text" option to show the variable number.

So if [Apples Left] is variable ID 3, then have something like:
Code:
@>Control Variables: [0003: Apples Left] -= 1
@>Change Items: +1 Apple
@>Show Text: You picked an apple! You need \V[3] more apples.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top