Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

How to call a common event with a variable?

vgde01mb

Villager
Xy$
0.00
Hello! How can I set up my game so that when a game variable gets to 0, a common event activate? I tried setting it up where I have an autorun event that activates when a variable hits 0 but it lags out my game so much its hard to move. i tried the same thing with a parallel process and it lagged out again. Please help!
 

CT_Bolt

Global Moderator
Staff member
Resource Team
Xy$
0.02
I've created a demo for you. Download link below.
Here's the break down:




Variable Checking Demo: Click Here to Download
This demo should help solve your problem. (glad)

Please let me know how the demo works for you, it does use parallel process and an initial auto-run as a "setup" event but I don't experience any lag. (hella)(thumbsup)
 
Last edited:
Top