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.

Conditional Item Usage Event

What I wanted to do is that during a certain event, when a player uses an item, a cutscene will trigger, but only if he uses the item.  How do you do that?
 
Uh, sorry but this is what I meant.  The following is what I want to happen:
An item using tutorial even teaches you how to use items when on the world map.  Next, it has you use the item.  If the player uses the item, then a cutscene will trigger, thus moving the story.  If the player doesn't use the item, then nothing will happen and the story is stuck until he/she catches on and use the freaking item.
 
Make the item call a Common Event, and in the Common Event simply turn on a switch.

Then on the tutorial event, create a Conditional Branch checking if the switch is on, and if it is, proceed with the cutscene.

Another alternative is to check if the player has 0 (or 1 less than the starting amount) of that item in the inventory, although this won't work if the item isn't consumable.
 

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