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.

Step Counter Notice?

Detailed Description:
Is there anyway to make it so once you reach a certain amount of steps, 100 for example, that it activates a common event?
Other Scripts I am using (in order):
None

Thanks in advance,
Lcarens
 

Zeriab

Sponsor

You can have another common event on Parallel trigger, which stores the amount of steps in a variable and checks if the variable is 100 in a conditional branch.
Put in a common event call in that branch which calls the common event you want to call.
Remember to turn the switch on for the Parallel common event.

I know you are asking for a script, but it's easier to event.

*hugs*
- Zeriab
 
Zeriab":23zn8z6t said:
You can have another common event on Parallel trigger, which stores the amount of steps in a variable and checks if the variable is 100 in a conditional branch.
Put in a common event call in that branch which calls the common event you want to call.
Remember to turn the switch on for the Parallel common event.

I know you are asking for a script, but it's easier to event.

*hugs*
- Zeriab

Actually, that was exactly what I was looking for!
Thanks!
 

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